@ckeditor/ckeditor5-comments 43.1.0-alpha.7 → 43.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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
|
-
const _0x49cd0e=_0x503e;(function(_0x1b6692,_0x120e47){const _0x54a671=_0x503e,_0x3e167b=_0x1b6692();while(!![]){try{const _0x4a6799=-parseInt(_0x54a671(0x16a))/0x1*(-parseInt(_0x54a671(0x15b))/0x2)+parseInt(_0x54a671(0x15a))/0x3+parseInt(_0x54a671(0x150))/0x4*(-parseInt(_0x54a671(0x199))/0x5)+-parseInt(_0x54a671(0x156))/0x6*(-parseInt(_0x54a671(0x16c))/0x7)+-parseInt(_0x54a671(0x195))/0x8+-parseInt(_0x54a671(0x19c))/0x9+parseInt(_0x54a671(0x16f))/0xa;if(_0x4a6799===_0x120e47)break;else _0x3e167b['push'](_0x3e167b['shift']());}catch(_0x314499){_0x3e167b['push'](_0x3e167b['shift']());}}}(_0x5d83,0xcf3aa));import{ContextPlugin as _0x27e849}from'ckeditor5/src/core.js';function _0x5d83(){const _0x5d346c=['change:bottom','423396szfoCv','context','push','isActive','nodeType','change:targetRect','list','_updateLastItem','getIndex','_sidebarItemViewToAnnotation','last','targetRect','_destroySidebarItemView','27572ckLrIw','minHeight','isAnimationDisabled','object','_getTargetTop','_targetTop','246QzZbha','clear','remove','_alignAfterItem','2423310CHjoDd','48234OROCvO','container','sidebar.container','get','_detachFromContainer','setContainer','_activeAnnotation','updateHeight','change:top','Sidebar','add','_alignToTargetRect','_alignForBottomChange','appendChild','_getItemBefore','2qtRDDP','sidebar-attachtocontainer-missing-container','46424fVNvgn','stopListening','_createSidebarView','22968310DJQODO','height','class','max','_setItemTop','bottom','_spaceBetweenItems','_annotations','locale','render','content','sidebar.preventScrollOutOfView','length','_alignBeforeItem','_getMaxAvailableTop','pluginName','view','_getItemAfter','change:_lastItem','target','_recalculateBuffer','set','rearrange','destroy','sidebar-setcontainer-invalid-element','unbind','top','define','config','bind','listenTo','_attachToContainer','addAnnotation','_alignForTopChange','getSidebarItemView','_recalculate','refresh','delete','10250080kYQxuY','element','init','_annotationToSidebarItemView','905SMvvmS','_lastItem'];_0x5d83=function(){return _0x5d346c;};return _0x5d83();}import{Rect as _0x4558f0,CKEditorError as _0x517458}from'ckeditor5/src/utils.js';import _0x116784 from'./view/sidebarview.js';function _0x503e(_0x3fd36c,_0x1022d7){const _0x5d836a=_0x5d83();return _0x503e=function(_0x503e04,_0x23b029){_0x503e04=_0x503e04-0x147;let _0x503a57=_0x5d836a[_0x503e04];return _0x503a57;},_0x503e(_0x3fd36c,_0x1022d7);}import _0x4770a8 from'./view/sidebaritemview.js';export default class D extends _0x27e849{static get[_0x49cd0e(0x17e)](){const _0x40543c=_0x49cd0e;return _0x40543c(0x164);}constructor(_0x26bb0f){const _0x235ffc=_0x49cd0e;super(_0x26bb0f),this[_0x235ffc(0x184)](_0x235ffc(0x19a),void 0x0),this[_0x235ffc(0x17f)]=this[_0x235ffc(0x16e)](),this[_0x235ffc(0x184)](_0x235ffc(0x15c),null),this[_0x235ffc(0x175)]=0x19,this[_0x235ffc(0x14c)]=new Map(),this[_0x235ffc(0x198)]=new Map(),this[_0x235ffc(0x19d)][_0x235ffc(0x18b)][_0x235ffc(0x18a)](_0x235ffc(0x17a),!0x1),this[_0x235ffc(0x176)]=null,this[_0x235ffc(0x161)]=null,this[_0x235ffc(0x183)]=[];}[_0x49cd0e(0x197)](){const _0x2fc6c1=_0x49cd0e,_0x528bb2=this[_0x2fc6c1(0x19d)][_0x2fc6c1(0x18b)][_0x2fc6c1(0x15e)](_0x2fc6c1(0x15d));_0x528bb2&&this[_0x2fc6c1(0x160)](_0x528bb2);}[_0x49cd0e(0x160)](_0x18a9ca){const _0xd999fb=_0x49cd0e;if(!y(_0x18a9ca))throw new _0x517458(_0xd999fb(0x187));this[_0xd999fb(0x15c)]=_0x18a9ca;}[_0x49cd0e(0x18e)]({viewClass:_0x2bbb7f='',spaceBetweenItems:_0x3f4d8b=0x19}={}){const _0x5d9e72=_0x49cd0e;if(!y(this[_0x5d9e72(0x15c)]))throw new _0x517458(_0x5d9e72(0x16b),this);this[_0x5d9e72(0x15c)][_0x5d9e72(0x168)](this[_0x5d9e72(0x17f)][_0x5d9e72(0x196)]),this[_0x5d9e72(0x17f)][_0x5d9e72(0x171)]=_0x2bbb7f,this[_0x5d9e72(0x175)]=_0x3f4d8b;}[_0x49cd0e(0x185)]({removedAnnotation:_0x56ada1,previousAnnotation:_0x2b9a0d,nextAnnotation:_0x547d75}){const _0x24da3a=_0x49cd0e,_0x143a53=this[_0x24da3a(0x191)](_0x56ada1);this[_0x24da3a(0x17f)][_0x24da3a(0x149)][_0x24da3a(0x158)](_0x143a53),this[_0x24da3a(0x14f)](_0x56ada1),_0x2b9a0d&&this[_0x24da3a(0x166)](this[_0x24da3a(0x191)](_0x2b9a0d)),_0x547d75&&this[_0x24da3a(0x166)](this[_0x24da3a(0x191)](_0x547d75)),this[_0x24da3a(0x14a)]();}[_0x49cd0e(0x193)]({blurredAnnotation:_0x41e897,activatedAnnotation:_0x2b27e7,disableAnimationOnActivatedAnnotation:_0x9a34a0}){const _0x3da2eb=_0x49cd0e;if(this[_0x3da2eb(0x161)]=_0x2b27e7,_0x41e897){_0x41e897[_0x3da2eb(0x19f)]=!0x1;const _0x54314e=this[_0x3da2eb(0x191)](_0x41e897);_0x54314e&&_0x9a34a0&&(_0x54314e[_0x3da2eb(0x152)]=!0x1);}if(_0x2b27e7){const _0x25df79=this[_0x3da2eb(0x191)](_0x2b27e7);_0x25df79&&(_0x2b27e7[_0x3da2eb(0x19f)]=!0x0,_0x9a34a0&&(_0x25df79[_0x3da2eb(0x152)]=!0x0,_0x25df79[_0x3da2eb(0x189)]+=0x1),this[_0x3da2eb(0x166)](_0x25df79));}}[_0x49cd0e(0x15f)](_0x1c19fc){const _0x4ae74b=_0x49cd0e;if(this[_0x4ae74b(0x17f)][_0x4ae74b(0x196)][_0x4ae74b(0x158)](),_0x1c19fc){for(const _0x3fc276 of _0x1c19fc)this[_0x4ae74b(0x14f)](_0x3fc276);}this[_0x4ae74b(0x17f)][_0x4ae74b(0x149)][_0x4ae74b(0x157)](),this[_0x4ae74b(0x17f)][_0x4ae74b(0x171)]='',this[_0x4ae74b(0x19a)]=null;}[_0x49cd0e(0x18f)](_0x3f3522,_0x1761b7){const _0x30aea1=_0x49cd0e;_0x1761b7||(_0x1761b7=_0x3f3522[_0x30aea1(0x17f)]);const _0x5321f1=new _0x4770a8(this[_0x30aea1(0x19d)][_0x30aea1(0x177)]);this[_0x30aea1(0x14c)][_0x30aea1(0x184)](_0x5321f1,_0x3f3522),this[_0x30aea1(0x198)][_0x30aea1(0x184)](_0x3f3522,_0x5321f1),_0x5321f1[_0x30aea1(0x179)][_0x30aea1(0x165)](_0x1761b7),this[_0x30aea1(0x18d)](_0x3f3522[_0x30aea1(0x17f)],_0x30aea1(0x148),(_0x1fb5a7,_0x54ccd1,_0x2a8f03)=>{const _0x2c4611=_0x30aea1,_0x2b109c=this[_0x2c4611(0x154)](_0x3f3522,_0x2a8f03);_0x5321f1[_0x2c4611(0x155)]!=_0x2b109c&&(_0x5321f1[_0x2c4611(0x155)]=_0x2b109c,this[_0x2c4611(0x173)](_0x5321f1,_0x2b109c));}),this[_0x30aea1(0x18d)](_0x5321f1,_0x30aea1(0x163),()=>{const _0x48d206=_0x30aea1;this[_0x48d206(0x192)](_0x5321f1,_0x48d206(0x189));}),this[_0x30aea1(0x18d)](_0x5321f1,_0x30aea1(0x19b),()=>{const _0x3f08df=_0x30aea1;this[_0x3f08df(0x192)](_0x5321f1,_0x3f08df(0x174));}),this[_0x30aea1(0x166)](_0x5321f1);const _0x3cb286=this[_0x30aea1(0x169)](_0x5321f1);if(_0x3cb286)this[_0x30aea1(0x159)](_0x3cb286,_0x5321f1)||this[_0x30aea1(0x166)](_0x5321f1);else this[_0x30aea1(0x166)](_0x5321f1);return this[_0x30aea1(0x14a)](),this[_0x30aea1(0x17f)][_0x30aea1(0x149)][_0x30aea1(0x165)](_0x5321f1),_0x5321f1;}[_0x49cd0e(0x190)](_0x91c749){const _0x23d28d=_0x49cd0e;if(!_0x91c749[_0x23d28d(0x179)][_0x23d28d(0x17b)])return;const _0x24da6e=this[_0x23d28d(0x169)](_0x91c749);if(!_0x24da6e)return;const _0x4766a6=this[_0x23d28d(0x14c)][_0x23d28d(0x15e)](_0x24da6e),_0x2ec01d=this[_0x23d28d(0x161)];_0x2ec01d&&_0x2ec01d===_0x4766a6?this[_0x23d28d(0x159)](_0x24da6e,_0x91c749):this[_0x23d28d(0x17c)](_0x91c749,_0x24da6e);}[_0x49cd0e(0x167)](_0x17bcae){const _0x261c45=_0x49cd0e;if(!_0x17bcae[_0x261c45(0x179)][_0x261c45(0x17b)])return;const _0x45b688=this[_0x261c45(0x180)](_0x17bcae);if(!_0x45b688)return;const _0x2e9002=this[_0x261c45(0x14c)][_0x261c45(0x15e)](_0x45b688),_0x107f88=this[_0x261c45(0x19d)][_0x261c45(0x18b)][_0x261c45(0x15e)](_0x261c45(0x17a)),_0x1f35cf=this[_0x261c45(0x161)];_0x1f35cf&&_0x1f35cf===_0x2e9002&&_0x107f88?(this[_0x261c45(0x17c)](_0x45b688,_0x17bcae),this[_0x261c45(0x159)](_0x17bcae,_0x45b688)):_0x1f35cf&&_0x1f35cf===_0x2e9002?this[_0x261c45(0x17c)](_0x45b688,_0x17bcae):this[_0x261c45(0x159)](_0x17bcae,_0x45b688);}[_0x49cd0e(0x192)](_0x34ec29,_0x5b581d){const _0x50f984=_0x49cd0e;0x0===this[_0x50f984(0x183)][_0x50f984(0x17b)]&&setTimeout(()=>{const _0x32bad6=_0x50f984;for(const {sidebarItemView:_0x56f272,changedProp:_0x4baf13}of this[_0x32bad6(0x183)])_0x32bad6(0x189)===_0x4baf13?this[_0x32bad6(0x190)](_0x56f272):this[_0x32bad6(0x167)](_0x56f272);this[_0x32bad6(0x183)]=[];},0xa),this[_0x50f984(0x183)][_0x50f984(0x19e)]({'sidebarItemView':_0x34ec29,'changedProp':_0x5b581d});}[_0x49cd0e(0x191)](_0x428d25){const _0x20ec0a=_0x49cd0e;return this[_0x20ec0a(0x198)][_0x20ec0a(0x15e)](_0x428d25);}[_0x49cd0e(0x186)](){const _0x10535d=_0x49cd0e;this[_0x10535d(0x16d)](),this[_0x10535d(0x17f)][_0x10535d(0x186)]();}[_0x49cd0e(0x14f)](_0x3d3ffb){const _0x54a5a1=_0x49cd0e,_0x498bf5=this[_0x54a5a1(0x191)](_0x3d3ffb);this[_0x54a5a1(0x16d)](_0x498bf5),this[_0x54a5a1(0x16d)](_0x3d3ffb[_0x54a5a1(0x17f)]),_0x498bf5[_0x54a5a1(0x186)](),this[_0x54a5a1(0x198)][_0x54a5a1(0x194)](_0x3d3ffb),this[_0x54a5a1(0x14c)][_0x54a5a1(0x194)](_0x498bf5);}[_0x49cd0e(0x16e)](){const _0x57d044=_0x49cd0e,_0xad7a4f=new _0x116784(this[_0x57d044(0x19d)][_0x57d044(0x177)]);return _0xad7a4f[_0x57d044(0x178)](),this['on'](_0x57d044(0x181),(_0x10bb99,_0x132a24,_0x1d8161,_0x3e1486)=>{const _0x45295e=_0x57d044;_0x3e1486&&_0xad7a4f[_0x45295e(0x188)](_0x45295e(0x151)),_0x1d8161?_0xad7a4f[_0x45295e(0x18c)](_0x45295e(0x151))['to'](_0x1d8161,_0x45295e(0x174)):_0xad7a4f[_0x45295e(0x151)]=null;}),_0xad7a4f;}[_0x49cd0e(0x14a)](){const _0x3293e3=_0x49cd0e;var _0x2bd684;this[_0x3293e3(0x19a)]=(null===(_0x2bd684=this[_0x3293e3(0x176)])||void 0x0===_0x2bd684?void 0x0:_0x2bd684[_0x3293e3(0x14d)])?this[_0x3293e3(0x191)](this[_0x3293e3(0x176)][_0x3293e3(0x14d)]):null;}[_0x49cd0e(0x169)](_0xf186ca){const _0x4f3c5e=_0x49cd0e;var _0x5bfa54;const _0x3ed650=this[_0x4f3c5e(0x14c)][_0x4f3c5e(0x15e)](_0xf186ca),_0x17e53c=_0x3ed650&&(null===(_0x5bfa54=this[_0x4f3c5e(0x176)])||void 0x0===_0x5bfa54?void 0x0:_0x5bfa54[_0x4f3c5e(0x15e)](this[_0x4f3c5e(0x176)][_0x4f3c5e(0x14b)](_0x3ed650)-0x1));return _0x17e53c&&this[_0x4f3c5e(0x191)](_0x17e53c)||null;}[_0x49cd0e(0x180)](_0x4f8625){const _0x32816f=_0x49cd0e;var _0x43cc26;const _0x20f35e=this[_0x32816f(0x14c)][_0x32816f(0x15e)](_0x4f8625),_0x4c6b66=_0x20f35e&&(null===(_0x43cc26=this[_0x32816f(0x176)])||void 0x0===_0x43cc26?void 0x0:_0x43cc26[_0x32816f(0x15e)](this[_0x32816f(0x176)][_0x32816f(0x14b)](_0x20f35e)+0x1));return _0x4c6b66&&this[_0x32816f(0x191)](_0x4c6b66)||null;}[_0x49cd0e(0x17c)](_0x69396d,_0x4b7189){const _0xd4169e=_0x49cd0e;_0x69396d[_0xd4169e(0x162)]();const _0x30fff2=R(_0x4b7189[_0xd4169e(0x174)]+this[_0xd4169e(0x175)],_0x69396d[_0xd4169e(0x189)]);return!!_0x30fff2&&(this[_0xd4169e(0x173)](_0x4b7189,_0x4b7189[_0xd4169e(0x189)]-_0x30fff2),!0x0);}[_0x49cd0e(0x159)](_0x1f844b,_0x19abdb){const _0x4999c5=_0x49cd0e;_0x1f844b[_0x4999c5(0x162)]();const _0x1a382b=R(_0x1f844b[_0x4999c5(0x174)]+this[_0x4999c5(0x175)],_0x19abdb[_0x4999c5(0x189)]);return!!_0x1a382b&&(this[_0x4999c5(0x173)](_0x19abdb,_0x19abdb[_0x4999c5(0x189)]+_0x1a382b,!0x1),!0x0);}[_0x49cd0e(0x166)](_0x47cdbd){const _0x3cf1d9=_0x49cd0e,_0x4ba20b=this[_0x3cf1d9(0x14c)][_0x3cf1d9(0x15e)](_0x47cdbd);if(!_0x4ba20b||!_0x4ba20b[_0x3cf1d9(0x182)]||!_0x4ba20b[_0x3cf1d9(0x14e)])return;const _0x232094=this[_0x3cf1d9(0x154)](_0x4ba20b,_0x4ba20b[_0x3cf1d9(0x14e)]);this[_0x3cf1d9(0x173)](_0x47cdbd,_0x232094);}[_0x49cd0e(0x154)](_0x448c35,_0x33346b){const _0x211431=_0x49cd0e;if(null===_0x33346b)return 0x0;if(_0x448c35[_0x211431(0x182)]instanceof _0x4558f0)return _0x33346b[_0x211431(0x189)];{const _0x5d5a9b=new _0x4558f0(this[_0x211431(0x17f)][_0x211431(0x196)])[_0x211431(0x189)];return _0x33346b[_0x211431(0x189)]-_0x5d5a9b;}}[_0x49cd0e(0x173)](_0x258f6c,_0x3d7ced,_0xd56364=this[_0x49cd0e(0x19d)][_0x49cd0e(0x18b)][_0x49cd0e(0x15e)](_0x49cd0e(0x17a))){const _0x26bf21=_0x49cd0e;_0xd56364&&(_0x3d7ced=Math[_0x26bf21(0x172)](_0x3d7ced,this[_0x26bf21(0x17d)](_0x258f6c))),_0x258f6c[_0x26bf21(0x189)]=_0x3d7ced;}[_0x49cd0e(0x17d)](_0x3f146f){const _0x59663e=_0x49cd0e;let _0x10adae=this[_0x59663e(0x169)](_0x3f146f),_0x58a10f=0x0;for(;_0x10adae;)_0x10adae[_0x59663e(0x162)](),_0x58a10f+=this[_0x59663e(0x175)]+_0x10adae[_0x59663e(0x170)],_0x10adae=this[_0x59663e(0x169)](_0x10adae);return _0x58a10f;}}function R(_0x5a6a36,_0x431e56){const _0x57e84e=_0x49cd0e;return Math[_0x57e84e(0x172)](_0x5a6a36-_0x431e56,0x0);}function y(_0x1e4004){const _0x1e15ff=_0x49cd0e;return null!==_0x1e4004&&_0x1e15ff(0x153)==typeof _0x1e4004&&0x1===_0x1e4004[_0x1e15ff(0x147)];}
|
|
23
|
+
const _0x25dae5=_0x54a4;(function(_0x4ec535,_0x13104b){const _0x34378=_0x54a4,_0x548989=_0x4ec535();while(!![]){try{const _0x22369d=parseInt(_0x34378(0x222))/0x1+-parseInt(_0x34378(0x21e))/0x2+parseInt(_0x34378(0x203))/0x3+-parseInt(_0x34378(0x1ee))/0x4*(parseInt(_0x34378(0x20d))/0x5)+-parseInt(_0x34378(0x205))/0x6+-parseInt(_0x34378(0x220))/0x7*(parseInt(_0x34378(0x22b))/0x8)+parseInt(_0x34378(0x214))/0x9*(parseInt(_0x34378(0x233))/0xa);if(_0x22369d===_0x13104b)break;else _0x548989['push'](_0x548989['shift']());}catch(_0x53f26f){_0x548989['push'](_0x548989['shift']());}}}(_0x7876,0x2cab2));import{ContextPlugin as _0x54b3e1}from'ckeditor5/src/core.js';import{Rect as _0x40f304,CKEditorError as _0x13c386}from'ckeditor5/src/utils.js';import _0x3f992b from'./view/sidebarview.js';function _0x54a4(_0x43bb2b,_0x145548){const _0x78762=_0x7876();return _0x54a4=function(_0x54a4b2,_0x2dbc76){_0x54a4b2=_0x54a4b2-0x1eb;let _0x5910d9=_0x78762[_0x54a4b2];return _0x5910d9;},_0x54a4(_0x43bb2b,_0x145548);}import _0x3e8fb4 from'./view/sidebaritemview.js';export default class D extends _0x54b3e1{static get[_0x25dae5(0x232)](){const _0x2eb1c0=_0x25dae5;return _0x2eb1c0(0x1f3);}constructor(_0x17154c){const _0x1c1843=_0x25dae5;super(_0x17154c),this[_0x1c1843(0x1f6)](_0x1c1843(0x23e),void 0x0),this[_0x1c1843(0x1fe)]=this[_0x1c1843(0x206)](),this[_0x1c1843(0x1f6)](_0x1c1843(0x22f),null),this[_0x1c1843(0x216)]=0x19,this[_0x1c1843(0x238)]=new Map(),this[_0x1c1843(0x240)]=new Map(),this[_0x1c1843(0x1f5)][_0x1c1843(0x21c)][_0x1c1843(0x208)](_0x1c1843(0x230),!0x1),this[_0x1c1843(0x1f9)]=null,this[_0x1c1843(0x1ff)]=null,this[_0x1c1843(0x242)]=[];}[_0x25dae5(0x21b)](){const _0x426193=_0x25dae5,_0x57b765=this[_0x426193(0x1f5)][_0x426193(0x21c)][_0x426193(0x1fa)](_0x426193(0x231));_0x57b765&&this[_0x426193(0x217)](_0x57b765);}[_0x25dae5(0x217)](_0x1f98c5){const _0x4db82a=_0x25dae5;if(!y(_0x1f98c5))throw new _0x13c386(_0x4db82a(0x224));this[_0x4db82a(0x22f)]=_0x1f98c5;}[_0x25dae5(0x23b)]({viewClass:_0x1a6839='',spaceBetweenItems:_0x5e0196=0x19}={}){const _0x253977=_0x25dae5;if(!y(this[_0x253977(0x22f)]))throw new _0x13c386(_0x253977(0x218),this);this[_0x253977(0x22f)][_0x253977(0x21d)](this[_0x253977(0x1fe)][_0x253977(0x239)]),this[_0x253977(0x1fe)][_0x253977(0x1f7)]=_0x1a6839,this[_0x253977(0x216)]=_0x5e0196;}[_0x25dae5(0x20e)]({removedAnnotation:_0x2656a1,previousAnnotation:_0x9d1635,nextAnnotation:_0x4f9093}){const _0x3cee1e=_0x25dae5,_0xb5cac7=this[_0x3cee1e(0x1f0)](_0x2656a1);this[_0x3cee1e(0x1fe)][_0x3cee1e(0x209)][_0x3cee1e(0x21f)](_0xb5cac7),this[_0x3cee1e(0x223)](_0x2656a1),_0x9d1635&&this[_0x3cee1e(0x1ed)](this[_0x3cee1e(0x1f0)](_0x9d1635)),_0x4f9093&&this[_0x3cee1e(0x1ed)](this[_0x3cee1e(0x1f0)](_0x4f9093)),this[_0x3cee1e(0x202)]();}[_0x25dae5(0x22d)]({blurredAnnotation:_0x579328,activatedAnnotation:_0x247997,disableAnimationOnActivatedAnnotation:_0x4c8924}){const _0x287ee2=_0x25dae5;if(this[_0x287ee2(0x1ff)]=_0x247997,_0x579328){_0x579328[_0x287ee2(0x1f2)]=!0x1;const _0x30a7d3=this[_0x287ee2(0x1f0)](_0x579328);_0x30a7d3&&_0x4c8924&&(_0x30a7d3[_0x287ee2(0x236)]=!0x1);}if(_0x247997){const _0x56f304=this[_0x287ee2(0x1f0)](_0x247997);_0x56f304&&(_0x247997[_0x287ee2(0x1f2)]=!0x0,_0x4c8924&&(_0x56f304[_0x287ee2(0x236)]=!0x0,_0x56f304[_0x287ee2(0x1fb)]+=0x1),this[_0x287ee2(0x1ed)](_0x56f304));}}[_0x25dae5(0x234)](_0x2d786b){const _0x16dc72=_0x25dae5;if(this[_0x16dc72(0x1fe)][_0x16dc72(0x239)][_0x16dc72(0x21f)](),_0x2d786b){for(const _0x18a635 of _0x2d786b)this[_0x16dc72(0x223)](_0x18a635);}this[_0x16dc72(0x1fe)][_0x16dc72(0x209)][_0x16dc72(0x1ec)](),this[_0x16dc72(0x1fe)][_0x16dc72(0x1f7)]='',this[_0x16dc72(0x23e)]=null;}[_0x25dae5(0x243)](_0xd8662e,_0x36d0e8){const _0x275961=_0x25dae5;_0x36d0e8||(_0x36d0e8=_0xd8662e[_0x275961(0x1fe)]);const _0x24bca4=new _0x3e8fb4(this[_0x275961(0x1f5)][_0x275961(0x226)]);this[_0x275961(0x238)][_0x275961(0x1f6)](_0x24bca4,_0xd8662e),this[_0x275961(0x240)][_0x275961(0x1f6)](_0xd8662e,_0x24bca4),_0x24bca4[_0x275961(0x20c)][_0x275961(0x210)](_0x36d0e8),this[_0x275961(0x1fd)](_0xd8662e[_0x275961(0x1fe)],_0x275961(0x22e),(_0x4b809a,_0x5e7a36,_0x265b3b)=>{const _0x3bbba0=_0x275961,_0x1170cd=this[_0x3bbba0(0x201)](_0xd8662e,_0x265b3b);_0x24bca4[_0x3bbba0(0x1fc)]!=_0x1170cd&&(_0x24bca4[_0x3bbba0(0x1fc)]=_0x1170cd,this[_0x3bbba0(0x229)](_0x24bca4,_0x1170cd));}),this[_0x275961(0x1fd)](_0x24bca4,_0x275961(0x227),()=>{const _0x5c5b88=_0x275961;this[_0x5c5b88(0x23c)](_0x24bca4,_0x5c5b88(0x1fb));}),this[_0x275961(0x1fd)](_0x24bca4,_0x275961(0x23d),()=>{const _0x24af84=_0x275961;this[_0x24af84(0x23c)](_0x24bca4,_0x24af84(0x20f));}),this[_0x275961(0x1ed)](_0x24bca4);const _0x796fec=this[_0x275961(0x200)](_0x24bca4);if(_0x796fec)this[_0x275961(0x207)](_0x796fec,_0x24bca4)||this[_0x275961(0x1ed)](_0x24bca4);else this[_0x275961(0x1ed)](_0x24bca4);return this[_0x275961(0x202)](),this[_0x275961(0x1fe)][_0x275961(0x209)][_0x275961(0x210)](_0x24bca4),_0x24bca4;}[_0x25dae5(0x228)](_0x42b798){const _0xcf00f=_0x25dae5;if(!_0x42b798[_0xcf00f(0x20c)][_0xcf00f(0x219)])return;const _0x29da7c=this[_0xcf00f(0x200)](_0x42b798);if(!_0x29da7c)return;const _0x2fd9c2=this[_0xcf00f(0x238)][_0xcf00f(0x1fa)](_0x29da7c),_0xf5a659=this[_0xcf00f(0x1ff)];_0xf5a659&&_0xf5a659===_0x2fd9c2?this[_0xcf00f(0x207)](_0x29da7c,_0x42b798):this[_0xcf00f(0x221)](_0x42b798,_0x29da7c);}[_0x25dae5(0x213)](_0x2873fe){const _0x2dae26=_0x25dae5;if(!_0x2873fe[_0x2dae26(0x20c)][_0x2dae26(0x219)])return;const _0x26b255=this[_0x2dae26(0x212)](_0x2873fe);if(!_0x26b255)return;const _0x2a84a2=this[_0x2dae26(0x238)][_0x2dae26(0x1fa)](_0x26b255),_0x5f334f=this[_0x2dae26(0x1f5)][_0x2dae26(0x21c)][_0x2dae26(0x1fa)](_0x2dae26(0x230)),_0x24b084=this[_0x2dae26(0x1ff)];_0x24b084&&_0x24b084===_0x2a84a2&&_0x5f334f?(this[_0x2dae26(0x221)](_0x26b255,_0x2873fe),this[_0x2dae26(0x207)](_0x2873fe,_0x26b255)):_0x24b084&&_0x24b084===_0x2a84a2?this[_0x2dae26(0x221)](_0x26b255,_0x2873fe):this[_0x2dae26(0x207)](_0x2873fe,_0x26b255);}[_0x25dae5(0x23c)](_0x1dce6c,_0x16f5a5){const _0x226339=_0x25dae5;0x0===this[_0x226339(0x242)][_0x226339(0x219)]&&setTimeout(()=>{const _0x201331=_0x226339;for(const {sidebarItemView:_0x35c896,changedProp:_0x490950}of this[_0x201331(0x242)])_0x201331(0x1fb)===_0x490950?this[_0x201331(0x228)](_0x35c896):this[_0x201331(0x213)](_0x35c896);this[_0x201331(0x242)]=[];},0xa),this[_0x226339(0x242)][_0x226339(0x20a)]({'sidebarItemView':_0x1dce6c,'changedProp':_0x16f5a5});}[_0x25dae5(0x1f0)](_0x44963a){const _0x5a7b11=_0x25dae5;return this[_0x5a7b11(0x240)][_0x5a7b11(0x1fa)](_0x44963a);}[_0x25dae5(0x23a)](){const _0x30aa63=_0x25dae5;this[_0x30aa63(0x225)](),this[_0x30aa63(0x1fe)][_0x30aa63(0x23a)]();}[_0x25dae5(0x223)](_0x39a5f4){const _0x3f29af=_0x25dae5,_0x1a9946=this[_0x3f29af(0x1f0)](_0x39a5f4);this[_0x3f29af(0x225)](_0x1a9946),this[_0x3f29af(0x225)](_0x39a5f4[_0x3f29af(0x1fe)]),_0x1a9946[_0x3f29af(0x23a)](),this[_0x3f29af(0x240)][_0x3f29af(0x22c)](_0x39a5f4),this[_0x3f29af(0x238)][_0x3f29af(0x22c)](_0x1a9946);}[_0x25dae5(0x206)](){const _0x112070=_0x25dae5,_0x362041=new _0x3f992b(this[_0x112070(0x1f5)][_0x112070(0x226)]);return _0x362041[_0x112070(0x1ef)](),this['on'](_0x112070(0x235),(_0x22a552,_0x1eb679,_0x1ff112,_0x597b72)=>{const _0x3a63d2=_0x112070;_0x597b72&&_0x362041[_0x3a63d2(0x21a)](_0x3a63d2(0x1f8)),_0x1ff112?_0x362041[_0x3a63d2(0x211)](_0x3a63d2(0x1f8))['to'](_0x1ff112,_0x3a63d2(0x20f)):_0x362041[_0x3a63d2(0x1f8)]=null;}),_0x362041;}[_0x25dae5(0x202)](){const _0x109563=_0x25dae5;var _0x520cef;this[_0x109563(0x23e)]=(null===(_0x520cef=this[_0x109563(0x1f9)])||void 0x0===_0x520cef?void 0x0:_0x520cef[_0x109563(0x23f)])?this[_0x109563(0x1f0)](this[_0x109563(0x1f9)][_0x109563(0x23f)]):null;}[_0x25dae5(0x200)](_0x7452fe){const _0x287d33=_0x25dae5;var _0x53611e;const _0x995635=this[_0x287d33(0x238)][_0x287d33(0x1fa)](_0x7452fe),_0x52af0c=_0x995635&&(null===(_0x53611e=this[_0x287d33(0x1f9)])||void 0x0===_0x53611e?void 0x0:_0x53611e[_0x287d33(0x1fa)](this[_0x287d33(0x1f9)][_0x287d33(0x1f1)](_0x995635)-0x1));return _0x52af0c&&this[_0x287d33(0x1f0)](_0x52af0c)||null;}[_0x25dae5(0x212)](_0x260d4b){const _0xf84296=_0x25dae5;var _0x54dc1a;const _0x590937=this[_0xf84296(0x238)][_0xf84296(0x1fa)](_0x260d4b),_0x372081=_0x590937&&(null===(_0x54dc1a=this[_0xf84296(0x1f9)])||void 0x0===_0x54dc1a?void 0x0:_0x54dc1a[_0xf84296(0x1fa)](this[_0xf84296(0x1f9)][_0xf84296(0x1f1)](_0x590937)+0x1));return _0x372081&&this[_0xf84296(0x1f0)](_0x372081)||null;}[_0x25dae5(0x221)](_0x3884fc,_0x54e817){const _0x3b6247=_0x25dae5;_0x3884fc[_0x3b6247(0x22a)]();const _0x8b1904=R(_0x54e817[_0x3b6247(0x20f)]+this[_0x3b6247(0x216)],_0x3884fc[_0x3b6247(0x1fb)]);return!!_0x8b1904&&(this[_0x3b6247(0x229)](_0x54e817,_0x54e817[_0x3b6247(0x1fb)]-_0x8b1904),!0x0);}[_0x25dae5(0x207)](_0xb39b12,_0x164ab2){const _0x1f37f8=_0x25dae5;_0xb39b12[_0x1f37f8(0x22a)]();const _0xf989e9=R(_0xb39b12[_0x1f37f8(0x20f)]+this[_0x1f37f8(0x216)],_0x164ab2[_0x1f37f8(0x1fb)]);return!!_0xf989e9&&(this[_0x1f37f8(0x229)](_0x164ab2,_0x164ab2[_0x1f37f8(0x1fb)]+_0xf989e9,!0x1),!0x0);}[_0x25dae5(0x1ed)](_0x100695){const _0x1a766d=_0x25dae5,_0x5dd350=this[_0x1a766d(0x238)][_0x1a766d(0x1fa)](_0x100695);if(!_0x5dd350||!_0x5dd350[_0x1a766d(0x204)]||!_0x5dd350[_0x1a766d(0x1eb)])return;const _0xd73fe5=this[_0x1a766d(0x201)](_0x5dd350,_0x5dd350[_0x1a766d(0x1eb)]);this[_0x1a766d(0x229)](_0x100695,_0xd73fe5);}[_0x25dae5(0x201)](_0xf5cc1b,_0xd40a38){const _0x8ba551=_0x25dae5;if(null===_0xd40a38)return 0x0;if(_0xf5cc1b[_0x8ba551(0x204)]instanceof _0x40f304)return _0xd40a38[_0x8ba551(0x1fb)];{const _0x3b2c47=new _0x40f304(this[_0x8ba551(0x1fe)][_0x8ba551(0x239)])[_0x8ba551(0x1fb)];return _0xd40a38[_0x8ba551(0x1fb)]-_0x3b2c47;}}[_0x25dae5(0x229)](_0x3550c9,_0x1a5bd0,_0x16cc7b=this[_0x25dae5(0x1f5)][_0x25dae5(0x21c)][_0x25dae5(0x1fa)](_0x25dae5(0x230))){const _0x1094de=_0x25dae5;_0x16cc7b&&(_0x1a5bd0=Math[_0x1094de(0x20b)](_0x1a5bd0,this[_0x1094de(0x241)](_0x3550c9))),_0x3550c9[_0x1094de(0x1fb)]=_0x1a5bd0;}[_0x25dae5(0x241)](_0x42f49a){const _0x4c6d85=_0x25dae5;let _0x58d338=this[_0x4c6d85(0x200)](_0x42f49a),_0x5bdf81=0x0;for(;_0x58d338;)_0x58d338[_0x4c6d85(0x22a)](),_0x5bdf81+=this[_0x4c6d85(0x216)]+_0x58d338[_0x4c6d85(0x215)],_0x58d338=this[_0x4c6d85(0x200)](_0x58d338);return _0x5bdf81;}}function R(_0x33b09e,_0x53f661){const _0x29222b=_0x25dae5;return Math[_0x29222b(0x20b)](_0x33b09e-_0x53f661,0x0);}function _0x7876(){const _0x2abde2=['sidebar-setcontainer-invalid-element','stopListening','locale','change:top','_alignForTopChange','_setItemTop','updateHeight','6568LdYYGS','delete','refresh','change:targetRect','container','sidebar.preventScrollOutOfView','sidebar.container','pluginName','33490gtvtgM','_detachFromContainer','change:_lastItem','isAnimationDisabled','nodeType','_sidebarItemViewToAnnotation','element','destroy','_attachToContainer','_recalculate','change:bottom','_lastItem','last','_annotationToSidebarItemView','_getMaxAvailableTop','_recalculateBuffer','addAnnotation','targetRect','clear','_alignToTargetRect','8pvnQRd','render','getSidebarItemView','getIndex','isActive','Sidebar','object','context','set','class','minHeight','_annotations','get','top','_targetTop','listenTo','view','_activeAnnotation','_getItemBefore','_getTargetTop','_updateLastItem','72165PGEuYs','target','1774848fbvTuU','_createSidebarView','_alignAfterItem','define','list','push','max','content','92555ivECcF','rearrange','bottom','add','bind','_getItemAfter','_alignForBottomChange','2367lJyFSh','height','_spaceBetweenItems','setContainer','sidebar-attachtocontainer-missing-container','length','unbind','init','config','appendChild','634018aMDdvg','remove','1407hnyllR','_alignBeforeItem','92980fJvLHm','_destroySidebarItemView'];_0x7876=function(){return _0x2abde2;};return _0x7876();}function y(_0x30e89a){const _0x18d8b6=_0x25dae5;return null!==_0x30e89a&&_0x18d8b6(0x1f4)==typeof _0x30e89a&&0x1===_0x30e89a[_0x18d8b6(0x237)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35b269,_0x12c4a5){const _0x20f64a=_0x2640,_0x4df736=_0x35b269();while(!![]){try{const _0xd22011=-parseInt(_0x20f64a(0x1cb))/0x1*(-parseInt(_0x20f64a(0x1e2))/0x2)+-parseInt(_0x20f64a(0x1e5))/0x3*(parseInt(_0x20f64a(0x1ca))/0x4)+parseInt(_0x20f64a(0x1cc))/0x5*(parseInt(_0x20f64a(0x1d9))/0x6)+-parseInt(_0x20f64a(0x1d1))/0x7+-parseInt(_0x20f64a(0x1d0))/0x8+-parseInt(_0x20f64a(0x1df))/0x9*(-parseInt(_0x20f64a(0x1d4))/0xa)+-parseInt(_0x20f64a(0x1e0))/0xb;if(_0xd22011===_0x12c4a5)break;else _0x4df736['push'](_0x4df736['shift']());}catch(_0x4dd291){_0x4df736['push'](_0x4df736['shift']());}}}(_0x51e7,0xd4705));import{ButtonView as _0x39b9c7,View as _0x541d45}from'ckeditor5/src/ui.js';function _0x2640(_0x3374e9,_0x435989){const _0x51e775=_0x51e7();return _0x2640=function(_0x26401d,_0x33b48a){_0x26401d=_0x26401d-0x1c7;let _0x4dc19c=_0x51e775[_0x26401d];return _0x4dc19c;},_0x2640(_0x3374e9,_0x435989);}import _0x52f4cd from'../../../theme/icons/add-comment.svg';function _0x51e7(){const _0xb3816d=['bindTemplate','144PHfYPa','10452002UKeRXq','toString','152BaXfQt','ck-annotation-counter','isDirty','75BkDLjP','counterView','number','ck-annotation-counter__badge--edit-mode','140908usOJnC','18173ELqbGD','686955rXhVfc','add','children','bind','4835256KHWmES','4142754VGnJEC','set','ck-annotation-counter__badge--','799730cLSeaI','span','ck-annotation-counter__badge','_badge','extendTemplate','54TGFStq','...','annotationType','icon','setTemplate'];_0x51e7=function(){return _0xb3816d;};return _0x51e7();}export default class L extends _0x39b9c7{constructor(_0x560129){const _0x6e73ed=_0x2640;super(_0x560129);const _0x2e33b8=this[_0x6e73ed(0x1de)];this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1e4),!0x1),this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1c8),0x0),this[_0x6e73ed(0x1cf)](_0x6e73ed(0x1d7))['to'](this,_0x6e73ed(0x1e4),this,_0x6e73ed(0x1c8),(_0x441c59,_0x46e16c)=>_0x441c59?_0x6e73ed(0x1da):_0x46e16c[_0x6e73ed(0x1e1)]()),this[_0x6e73ed(0x1d2)](_0x6e73ed(0x1db),''),this[_0x6e73ed(0x1dc)]=_0x52f4cd,this[_0x6e73ed(0x1d8)]({'attributes':{'class':[_0x6e73ed(0x1e3)]}}),this[_0x6e73ed(0x1c7)]=new _0x541d45(),this[_0x6e73ed(0x1c7)][_0x6e73ed(0x1dd)]({'tag':_0x6e73ed(0x1d5),'attributes':{'class':[_0x6e73ed(0x1d6),_0x2e33b8['to'](_0x6e73ed(0x1db),_0x294a91=>_0x6e73ed(0x1d3)+_0x294a91),_0x2e33b8['if'](_0x6e73ed(0x1e4),_0x6e73ed(0x1c9))]},'children':[{'text':_0x2e33b8['to'](_0x6e73ed(0x1d7))}]}),this[_0x6e73ed(0x1ce)][_0x6e73ed(0x1cd)](this[_0x6e73ed(0x1c7)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32d251=_0xc52f;(function(_0x43d193,_0x3071ca){const _0x5fce4f=_0xc52f,_0xc2526d=_0x43d193();while(!![]){try{const _0x5af984=-parseInt(_0x5fce4f(0x13e))/0x1*(parseInt(_0x5fce4f(0x146))/0x2)+parseInt(_0x5fce4f(0x13b))/0x3*(-parseInt(_0x5fce4f(0x140))/0x4)+-parseInt(_0x5fce4f(0x13c))/0x5*(-parseInt(_0x5fce4f(0x13f))/0x6)+-parseInt(_0x5fce4f(0x141))/0x7*(parseInt(_0x5fce4f(0x132))/0x8)+-parseInt(_0x5fce4f(0x136))/0x9*(parseInt(_0x5fce4f(0x14e))/0xa)+parseInt(_0x5fce4f(0x15a))/0xb*(parseInt(_0x5fce4f(0x15e))/0xc)+parseInt(_0x5fce4f(0x151))/0xd;if(_0x5af984===_0x3071ca)break;else _0xc2526d['push'](_0xc2526d['shift']());}catch(_0x4c86f6){_0xc2526d['push'](_0xc2526d['shift']());}}}(_0x6904,0x305fe));function _0xc52f(_0x2a6080,_0x52a452){const _0x6904c8=_0x6904();return _0xc52f=function(_0xc52f9,_0x5441bd){_0xc52f9=_0xc52f9-0x132;let _0x4f3f50=_0x6904c8[_0xc52f9];return _0x4f3f50;},_0xc52f(_0x2a6080,_0x52a452);}import{View as _0x48c9eb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x137087,KeystrokeHandler as _0x3b4fff,uid as _0x5a2b42}from'ckeditor5/src/utils.js';import _0x42885d from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x6904(){const _0x3c7185=['clear','attach','focusTracker','set','setTemplate','927790ascqAF','type','destroy','11003265jPmoom','bindTemplate','listenTo','fire','height','mainView','length','element','ck-annotation-wrapper','22NqyGKs','isActive','clientHeight','first','834060fCAVGe','_updateHeight','focus','detach','div','ck-annotation-wrapper--active','65144uEQebG','add','createCollection','presentation','36KalINu','ck-rounded-corners','keystrokes','arrowdown','delegate','9iTlZuU','17965DhoWqc','_mutationObserver','92hAveMC','78hZxXfn','426588QSeDil','21frLsIl','isDirty','render','content','arrowup','2576UqwFfV','Esc','targetRect'];_0x6904=function(){return _0x3c7185;};return _0x6904();}export default class T extends _0x48c9eb{constructor(_0x376272,_0x4388f2){const _0x299ba5=_0xc52f;super(_0x376272),this['id']=_0x5a2b42(),this[_0x299ba5(0x14b)]=new _0x137087(),this[_0x299ba5(0x138)]=new _0x3b4fff(),this[_0x299ba5(0x138)][_0x299ba5(0x14c)](_0x299ba5(0x147),(_0x17feb8,_0x51cff7)=>this[_0x299ba5(0x154)](_0x299ba5(0x147),_0x51cff7)),this[_0x299ba5(0x14c)](_0x299ba5(0x148),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x299ba5(0x14c)](_0x299ba5(0x155),0x0),this[_0x299ba5(0x14c)](_0x299ba5(0x15b),!0x1),this[_0x299ba5(0x14c)](_0x299ba5(0x142),!0x1),this[_0x299ba5(0x14c)](_0x299ba5(0x157),0x0),this[_0x299ba5(0x14c)](_0x299ba5(0x14f),''),this[_0x299ba5(0x13d)]=_0x42885d(()=>this[_0x299ba5(0x15f)]()),this[_0x299ba5(0x144)]=this[_0x299ba5(0x134)](),this[_0x299ba5(0x144)][_0x299ba5(0x13a)](_0x299ba5(0x145),_0x299ba5(0x139))['to'](this),this[_0x299ba5(0x144)][_0x299ba5(0x133)](_0x4388f2),this[_0x299ba5(0x156)]=_0x4388f2;const _0x328ec9=this[_0x299ba5(0x152)];this[_0x299ba5(0x14d)]({'tag':_0x299ba5(0x162),'attributes':{'class':['ck',_0x299ba5(0x159),_0x299ba5(0x137),_0x328ec9['if'](_0x299ba5(0x15b),_0x299ba5(0x163))],'role':_0x299ba5(0x135)},'children':this[_0x299ba5(0x144)]});}[_0x32d251(0x143)](){const _0x30825c=_0x32d251;super[_0x30825c(0x143)](),this[_0x30825c(0x14b)][_0x30825c(0x133)](this[_0x30825c(0x158)]),this[_0x30825c(0x138)][_0x30825c(0x153)](this[_0x30825c(0x158)]),this[_0x30825c(0x13d)][_0x30825c(0x14a)](this[_0x30825c(0x158)]);}[_0x32d251(0x150)](){const _0x51a773=_0x32d251;this[_0x51a773(0x144)][_0x51a773(0x149)](),this[_0x51a773(0x138)][_0x51a773(0x150)](),this[_0x51a773(0x14b)][_0x51a773(0x150)](),this[_0x51a773(0x13d)][_0x51a773(0x161)](),super[_0x51a773(0x150)]();}[_0x32d251(0x160)](){const _0x2fd833=_0x32d251;this[_0x2fd833(0x144)][_0x2fd833(0x15d)]&&this[_0x2fd833(0x144)][_0x2fd833(0x15d)][_0x2fd833(0x160)]();}[_0x32d251(0x15f)](){const _0x18288a=_0x32d251,_0x4c2670=this[_0x18288a(0x158)][_0x18288a(0x15c)];_0x4c2670&&(this[_0x18288a(0x155)]=_0x4c2670);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2078f8=_0x4946;(function(_0x29d988,_0x3176ee){const _0x13ceaa=_0x4946,_0x59c2e5=_0x29d988();while(!![]){try{const _0x1ebc66=parseInt(_0x13ceaa(0x112))/0x1*(-parseInt(_0x13ceaa(0x126))/0x2)+parseInt(_0x13ceaa(0x117))/0x3+-parseInt(_0x13ceaa(0x128))/0x4*(-parseInt(_0x13ceaa(0x113))/0x5)+-parseInt(_0x13ceaa(0x108))/0x6*(parseInt(_0x13ceaa(0x105))/0x7)+-parseInt(_0x13ceaa(0x123))/0x8*(parseInt(_0x13ceaa(0x11c))/0x9)+parseInt(_0x13ceaa(0x10f))/0xa+parseInt(_0x13ceaa(0x109))/0xb;if(_0x1ebc66===_0x3176ee)break;else _0x59c2e5['push'](_0x59c2e5['shift']());}catch(_0x3123a7){_0x59c2e5['push'](_0x59c2e5['shift']());}}}(_0x29b7,0x1ae42));function _0x4946(_0x3b3174,_0x585393){const _0x29b7a0=_0x29b7();return _0x4946=function(_0x4946bd,_0x588f98){_0x4946bd=_0x4946bd-0x103;let _0x32e61f=_0x29b7a0[_0x4946bd];return _0x32e61f;},_0x4946(_0x3b3174,_0x585393);}import{View as _0xb8408d}from'ckeditor5/src/ui.js';import{toUnit as _0x42b06c}from'ckeditor5/src/utils.js';import _0x43d10a from'../../utils/createmutationobserver.js';const qt=_0x42b06c('px');export default class H extends _0xb8408d{constructor(_0x33384c){const _0x50ccd7=_0x4946;super(_0x33384c),this[_0x50ccd7(0x119)](_0x50ccd7(0x11f),0x0),this[_0x50ccd7(0x119)](_0x50ccd7(0x10a),0x0),this[_0x50ccd7(0x11d)](_0x50ccd7(0x11b))['to'](this,_0x50ccd7(0x11f),this,_0x50ccd7(0x10a),(_0x3e8ac0,_0x30d9ac)=>_0x3e8ac0+_0x30d9ac),this[_0x50ccd7(0x119)](_0x50ccd7(0x129),!0x1),this[_0x50ccd7(0x103)]=_0x43d10a(()=>this[_0x50ccd7(0x107)]()),this[_0x50ccd7(0x104)]=null,this[_0x50ccd7(0x110)]=this[_0x50ccd7(0x114)](),this[_0x50ccd7(0x110)][_0x50ccd7(0x125)](_0x50ccd7(0x124),_0x50ccd7(0x10b))['to'](this);const _0x94cb0=this[_0x50ccd7(0x115)];this[_0x50ccd7(0x10c)]({'tag':_0x50ccd7(0x111),'attributes':{'class':[_0x50ccd7(0x10d),_0x94cb0['to'](_0x50ccd7(0x129),_0x4956ee=>_0x4956ee?_0x50ccd7(0x12a):'')],'style':{'top':_0x94cb0['to'](_0x50ccd7(0x11f),_0x326bb8=>qt(_0x326bb8))},'role':_0x50ccd7(0x11e)},'children':this[_0x50ccd7(0x110)]});}[_0x2078f8(0x120)](){const _0xe70a01=_0x2078f8;super[_0xe70a01(0x120)](),this[_0xe70a01(0x103)][_0xe70a01(0x118)](this[_0xe70a01(0x116)]);}[_0x2078f8(0x127)](){const _0x340048=_0x2078f8;this[_0x340048(0x110)][_0x340048(0x121)]&&this[_0x340048(0x110)][_0x340048(0x121)][_0x340048(0x127)]();}[_0x2078f8(0x107)](){const _0x43253=_0x2078f8,_0x4bc448=this[_0x43253(0x116)][_0x43253(0x122)];_0x4bc448&&(this[_0x43253(0x10a)]=_0x4bc448);}[_0x2078f8(0x10e)](){const _0x836fe8=_0x2078f8;this[_0x836fe8(0x110)][_0x836fe8(0x11a)](),this[_0x836fe8(0x103)][_0x836fe8(0x106)](),super[_0x836fe8(0x10e)]();}}function _0x29b7(){const _0x3d85a0=['205220FkenPs','isAnimationDisabled','ck-sidebar-item--no-animation','_mutationObserver','_targetTop','772121ooXlBV','detach','updateHeight','6JdiBRr','1092806xCNWtV','height','arrowdown','setTemplate','ck-sidebar-item','destroy','1973870uazOoi','content','div','690DWFwSX','5pijwHE','createCollection','bindTemplate','element','226962TJnRxi','attach','set','clear','bottom','1717407TSrxee','bind','presentation','top','render','first','clientHeight','8DmuMHu','arrowup','delegate','36wRonlQ','focus'];_0x29b7=function(){return _0x3d85a0;};return _0x29b7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19d6d3=_0xe4f8;(function(_0x433d09,_0x1924d1){const _0x51ba2b=_0xe4f8,_0x482354=_0x433d09();while(!![]){try{const _0x3a2652=parseInt(_0x51ba2b(0xb8))/0x1+-parseInt(_0x51ba2b(0xaf))/0x2+parseInt(_0x51ba2b(0x92))/0x3+-parseInt(_0x51ba2b(0x96))/0x4+parseInt(_0x51ba2b(0xaa))/0x5*(parseInt(_0x51ba2b(0x9d))/0x6)+-parseInt(_0x51ba2b(0xa1))/0x7*(parseInt(_0x51ba2b(0xb2))/0x8)+parseInt(_0x51ba2b(0xa3))/0x9;if(_0x3a2652===_0x1924d1)break;else _0x482354['push'](_0x482354['shift']());}catch(_0x118f89){_0x482354['push'](_0x482354['shift']());}}}(_0x4f65,0x510b5));import{View as _0x3e60ec,FocusCycler as _0x9ea46}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3a989c,toUnit as _0x4101ff}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e5ea6}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x4101ff('px');function _0xe4f8(_0x510ec8,_0x34c77e){const _0x4f6597=_0x4f65();return _0xe4f8=function(_0xe4f8be,_0x39edd1){_0xe4f8be=_0xe4f8be-0x89;let _0xb44596=_0x4f6597[_0xe4f8be];return _0xb44596;},_0xe4f8(_0x510ec8,_0x34c77e);}function _0x4f65(){const _0x292f07=['element','createCollection','269988uDXyrO','Annotations\x20list','forEach','137336mQZDdg','ck-reset','ck-sidebar','_setupKeyboardNavigation','div','set','318560vOHOfY','list','Annotations\x20sidebar','render','getIndex','application','source','setTemplate','minHeight','delegate','arrowup','top','300237FiRuWy','remove','length','focusPrevious','1936276kqzMQk','uiLanguageDirection','add','focus','bindTemplate','focusTracker','_updateItemPositionInFocusables','3778566gvACuf','focusFirst','class','focusCycler','42EgpiTW','change:top','50598dNarlV','change','added','removed','focusables','listenTo','number','5zOTvxM','arrowdown','focusNext'];_0x4f65=function(){return _0x292f07;};return _0x4f65();}export default class V extends _0x3e60ec{constructor(_0x196ce4){const _0x4e234f=_0xe4f8;super(_0x196ce4);const _0xc7dc1c=this[_0x4e234f(0x9a)];this[_0x4e234f(0xb7)](_0x4e234f(0x8e),0x0),this[_0x4e234f(0xb7)](_0x4e234f(0x9f),''),this[_0x4e234f(0xb9)]=this[_0x4e234f(0xae)](),this[_0x4e234f(0xa7)]=this[_0x4e234f(0xae)](),this[_0x4e234f(0xb9)][_0x4e234f(0x8f)](_0x4e234f(0x90),_0x4e234f(0xab))['to'](this),this[_0x4e234f(0x9b)]=new _0x3a989c(),this[_0x4e234f(0xa0)]=new _0x9ea46({'focusables':this[_0x4e234f(0xa7)],'focusTracker':this[_0x4e234f(0x9b)]}),this[_0x4e234f(0x8d)]({'tag':_0x4e234f(0xb6),'attributes':{'class':['ck',_0x4e234f(0xb4),_0x4e234f(0xb3),_0xc7dc1c['to'](_0x4e234f(0x9f))],'style':{'minHeight':_0xc7dc1c['to'](_0x4e234f(0x8e),_0x1ca144=>_0x4e234f(0xa9)==typeof _0x1ca144?qt(_0x1ca144+0xa):null)},'dir':_0x196ce4[_0x4e234f(0x97)],'role':_0x4e234f(0x8b),'aria-label':_0x2e5ea6(_0x196ce4,_0x4e234f(0xba)),'tabindex':0x0},'children':[{'tag':_0x4e234f(0xb6),'attributes':{'role':_0x4e234f(0xb9),'aria-label':_0x2e5ea6(_0x196ce4,_0x4e234f(0xb0))},'children':this[_0x4e234f(0xb9)]}]});}[_0x19d6d3(0x89)](){const _0x315f10=_0x19d6d3;super[_0x315f10(0x89)](),this[_0x315f10(0xb5)]();}[_0x19d6d3(0x99)](){const _0x1a404=_0x19d6d3;this[_0x1a404(0xa0)][_0x1a404(0x9e)]();}[_0x19d6d3(0xb5)](){const _0x30b752=_0x19d6d3;this[_0x30b752(0xb9)][_0x30b752(0x8f)](_0x30b752(0xa2))['to'](this),this['on'](_0x30b752(0xa2),_0x3bf808=>{const _0x5c18e4=_0x30b752;this[_0x5c18e4(0x9c)](_0x3bf808[_0x5c18e4(0x8c)]);}),this[_0x30b752(0xb9)][_0x30b752(0xb1)](_0xf659d=>{const _0x4c171a=_0x30b752;this[_0x4c171a(0x9b)][_0x4c171a(0x98)](_0xf659d[_0x4c171a(0xad)]),this[_0x4c171a(0x9c)](_0xf659d);}),this[_0x30b752(0xb9)]['on'](_0x30b752(0xa4),(_0xcf310d,_0x1ea8f8)=>{const _0x38bd82=_0x30b752;for(const _0x3fde2c of _0x1ea8f8[_0x38bd82(0xa6)])this[_0x38bd82(0x9b)][_0x38bd82(0x93)](_0x3fde2c[_0x38bd82(0xad)]),this[_0x38bd82(0xa7)][_0x38bd82(0x93)](_0x3fde2c);for(const _0x158985 of _0x1ea8f8[_0x38bd82(0xa5)])this[_0x38bd82(0x9b)][_0x38bd82(0x98)](_0x158985[_0x38bd82(0xad)]),this[_0x38bd82(0x9c)](_0x158985);}),this['on'](_0x30b752(0x90),()=>{const _0x4c50ca=_0x30b752;this[_0x4c50ca(0xa0)][_0x4c50ca(0x95)]();}),this['on'](_0x30b752(0xab),()=>{const _0x18ba92=_0x30b752;this[_0x18ba92(0xa0)][_0x18ba92(0xac)]();}),this[_0x30b752(0xa8)](this[_0x30b752(0xad)],_0x30b752(0x99),()=>{const _0x2d9950=_0x30b752;this[_0x2d9950(0x99)]();});}[_0x19d6d3(0x9c)](_0x4944c9){const _0x5a1e62=_0x19d6d3,_0x17d960=this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x4944c9);let _0x323b8b,_0x4d66f5;for(const _0x1ad6c7 of this[_0x5a1e62(0xa7)])if(_0x4944c9[_0x5a1e62(0x91)]<_0x1ad6c7[_0x5a1e62(0x91)]){_0x323b8b=_0x1ad6c7;break;}if(_0x4d66f5=_0x323b8b?this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x323b8b):this[_0x5a1e62(0xa7)][_0x5a1e62(0x94)],-0x1!==_0x17d960){if(_0x17d960===_0x4d66f5-0x1)return;this[_0x5a1e62(0xa7)][_0x5a1e62(0x93)](_0x4944c9),_0x4d66f5=_0x323b8b?this[_0x5a1e62(0xa7)][_0x5a1e62(0x8a)](_0x323b8b):this[_0x5a1e62(0xa7)][_0x5a1e62(0x94)];}this[_0x5a1e62(0xa7)][_0x5a1e62(0x98)](_0x4944c9,_0x4d66f5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3edfca=_0x4eb3;function _0x12bc(){const _0x1b11f6=['_annotations','refreshPositioning','detach','23656SJKSTM','_editorAnnotations','resize','272900mdLpWJ','hasDomSelection','448080ehrEUt','addAnnotation','widesidebar-detach-not-attached','_attachToContainer','set','removeEventListener','addEventListener','add','register','change:container','ready','_refreshPositioningDebounced','listenTo','isAttached','switchTo','140vqZWQf','container','pluginName','_detachFromContainer','getOrderedSelectedAnnotations','widesidebar-attach-already-attached','editors','408DLwYZF','updateTargetRect','setActiveAnnotation','remove','702LuuYqU','216HjEsxF','from','requires','rearrange','WideSidebar','attach','set:container','1137969IwuaHw','activeAnnotation','wideSidebar','annotations','blur','plugins','_activeAnnotation','cancel','refresh','EditorAnnotations','420nMPsBK','stopListening','destroy','high','_destroyEditorAnnotationsIntegration','uiUpdate','has','ck-sidebar--wide','stop','focus','_integrateWithEditorAnnotations','context','off','init','526390efyKSd','get'];_0x12bc=function(){return _0x1b11f6;};return _0x12bc();}(function(_0x1b6533,_0x557ce1){const _0x4eda75=_0x4eb3,_0xb1eb6e=_0x1b6533();while(!![]){try{const _0x337e2b=-parseInt(_0x4eda75(0x234))/0x1*(parseInt(_0x4eda75(0x233))/0x2)+-parseInt(_0x4eda75(0x22f))/0x3*(-parseInt(_0x4eda75(0x201))/0x4)+parseInt(_0x4eda75(0x20f))/0x5+-parseInt(_0x4eda75(0x219))/0x6+parseInt(_0x4eda75(0x228))/0x7*(parseInt(_0x4eda75(0x214))/0x8)+parseInt(_0x4eda75(0x1f7))/0x9+-parseInt(_0x4eda75(0x217))/0xa;if(_0x337e2b===_0x557ce1)break;else _0xb1eb6e['push'](_0xb1eb6e['shift']());}catch(_0x3d3487){_0xb1eb6e['push'](_0xb1eb6e['shift']());}}}(_0x12bc,0x1f179));import{ContextPlugin as _0x46067c,Context as _0x296290}from'ckeditor5/src/core.js';import _0x40c978 from'./annotationsuis.js';function _0x4eb3(_0x537e4c,_0x1c90c5){const _0x12bcc3=_0x12bc();return _0x4eb3=function(_0x4eb338,_0x332ea6){_0x4eb338=_0x4eb338-0x1f3;let _0x2f3d02=_0x12bcc3[_0x4eb338];return _0x2f3d02;},_0x4eb3(_0x537e4c,_0x1c90c5);}import _0x3f21f8 from'./sidebar.js';import{CKEditorError as _0x337f44,Collection as _0x326c14}from'ckeditor5/src/utils.js';import{debounce as _0x318b3c}from'lodash-es';export default class n extends _0x46067c{static get[_0x3edfca(0x236)](){return[_0x3f21f8,_0x40c978];}static get[_0x3edfca(0x22a)](){const _0x3c709d=_0x3edfca;return _0x3c709d(0x1f4);}constructor(_0x4d56ef){const _0x551d51=_0x3edfca;super(_0x4d56ef),this[_0x551d51(0x226)]=!0x1,this[_0x551d51(0x21d)](_0x551d51(0x1f8),null),this[_0x551d51(0x1fa)]=null,this[_0x551d51(0x215)]=new _0x326c14(),this[_0x551d51(0x224)]=_0x318b3c(()=>{const _0x5d4242=_0x551d51;this[_0x5d4242(0x1fa)][_0x5d4242(0x212)]();},0xfa,{'leading':!0x1});}[_0x3edfca(0x20e)](){const _0x5b7bb7=_0x3edfca,_0x3718cc=this[_0x5b7bb7(0x20c)][_0x5b7bb7(0x1fc)][_0x5b7bb7(0x210)](_0x40c978),_0x364c21=this[_0x5b7bb7(0x20c)][_0x5b7bb7(0x1fc)][_0x5b7bb7(0x210)](_0x3f21f8);_0x3718cc[_0x5b7bb7(0x221)](_0x5b7bb7(0x1f9),this),_0x364c21[_0x5b7bb7(0x229)]&&_0x3718cc[_0x5b7bb7(0x227)](_0x5b7bb7(0x1f9));}[_0x3edfca(0x231)](_0x16975a){const _0x34933d=_0x3edfca;if(_0x16975a===this[_0x34933d(0x1f8)])return;const _0x14aa25=this[_0x34933d(0x20c)][_0x34933d(0x1fc)][_0x34933d(0x210)](_0x3f21f8);_0x14aa25[_0x34933d(0x1fd)]=_0x16975a;const _0x3156b7=this[_0x34933d(0x1f8)];this[_0x34933d(0x1f8)]=_0x16975a,_0x14aa25[_0x34933d(0x1ff)]({'blurredAnnotation':_0x3156b7,'activatedAnnotation':this[_0x34933d(0x1f8)]});}[_0x3edfca(0x1f5)](_0xb153e2){const _0x2fd9b8=_0x3edfca;this[_0x2fd9b8(0x1fa)]=_0xb153e2;const _0x2e8d3f=this[_0x2fd9b8(0x20c)][_0x2fd9b8(0x1fc)][_0x2fd9b8(0x210)](_0x3f21f8);if(_0x2e8d3f[_0x2fd9b8(0x211)]=_0xb153e2,this[_0x2fd9b8(0x226)])throw new _0x337f44(_0x2fd9b8(0x22d),this);this[_0x2fd9b8(0x226)]=!0x0,this[_0x2fd9b8(0x225)](_0x2e8d3f,_0x2fd9b8(0x1f6),()=>{const _0x558009=_0x2fd9b8;this[_0x558009(0x213)](),this[_0x558009(0x225)](_0x2e8d3f,_0x558009(0x222),_0xbf79df=>{const _0x17ee1b=_0x558009;_0xbf79df[_0x17ee1b(0x20d)](),this[_0x17ee1b(0x1f5)](_0xb153e2);});}),_0x2e8d3f[_0x2fd9b8(0x21c)]({'viewClass':_0x2fd9b8(0x208)});const _0x44e378=_0x10d89d=>{const _0x3643ce=_0x2fd9b8;_0x10d89d[_0x3643ce(0x230)](),_0x2e8d3f[_0x3643ce(0x21a)](_0x10d89d);};for(const _0x30be4c of _0xb153e2)_0x44e378(_0x30be4c);this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x220),(_0x3d2805,_0x4fdfc3)=>{_0x44e378(_0x4fdfc3);}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x232),(_0x1ec3d1,_0x362337,_0x2eb7a2)=>{const _0x239448=_0x2fd9b8;_0x2e8d3f[_0x239448(0x1f3)]({'removedAnnotation':_0x362337,'previousAnnotation':_0xb153e2[_0x239448(0x210)](_0x2eb7a2-0x1),'nextAnnotation':_0xb153e2[_0x239448(0x210)](_0x2eb7a2+0x1)}),_0x362337===this[_0x239448(0x1f8)]&&this[_0x239448(0x231)](null);},{'priority':_0x2fd9b8(0x204)}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x20a),(_0x96050,_0x10ac27)=>{const _0x2bd483=_0x2fd9b8;this[_0x2bd483(0x231)](_0x10ac27);}),this[_0x2fd9b8(0x225)](_0xb153e2,_0x2fd9b8(0x1fb),()=>{const _0x43a7b8=_0x2fd9b8;this[_0x43a7b8(0x231)](null);});const _0x569b59=this[_0x2fd9b8(0x20c)]instanceof _0x296290?this[_0x2fd9b8(0x20c)][_0x2fd9b8(0x22e)]:new _0x326c14([this[_0x2fd9b8(0x20c)]]);for(const _0x55acb1 of _0x569b59)this[_0x2fd9b8(0x20b)](_0x55acb1);this[_0x2fd9b8(0x225)](_0x569b59,_0x2fd9b8(0x220),(_0x3af7ad,_0x5ae9ab)=>{const _0x253f6d=_0x2fd9b8;this[_0x253f6d(0x225)](_0x5ae9ab,_0x253f6d(0x223),()=>{const _0x59c6be=_0x253f6d;this[_0x59c6be(0x20b)](_0x5ae9ab);});}),this[_0x2fd9b8(0x225)](_0x569b59,_0x2fd9b8(0x232),(_0x54e4eb,_0x4cc61b)=>{const _0x47e5ea=_0x2fd9b8;_0x4cc61b[_0x47e5ea(0x1fc)][_0x47e5ea(0x207)](_0x47e5ea(0x200))&&this[_0x47e5ea(0x205)](_0x4cc61b[_0x47e5ea(0x1fc)][_0x47e5ea(0x210)](_0x47e5ea(0x200)));}),window[_0x2fd9b8(0x21f)](_0x2fd9b8(0x216),this[_0x2fd9b8(0x224)]),this[_0x2fd9b8(0x1fa)][_0x2fd9b8(0x212)]();}[_0x3edfca(0x213)](){const _0x391ecf=_0x3edfca;if(!this[_0x391ecf(0x226)])throw new _0x337f44(_0x391ecf(0x21b),this);this[_0x391ecf(0x231)](null);const _0x563036=this[_0x391ecf(0x20c)][_0x391ecf(0x1fc)][_0x391ecf(0x210)](_0x3f21f8);_0x563036[_0x391ecf(0x22b)](this[_0x391ecf(0x1fa)]),this[_0x391ecf(0x202)](_0x563036),this[_0x391ecf(0x202)](this[_0x391ecf(0x1fa)]),this[_0x391ecf(0x20c)]instanceof _0x296290&&this[_0x391ecf(0x202)](this[_0x391ecf(0x20c)][_0x391ecf(0x22e)]);for(const _0x43a8d6 of Array[_0x391ecf(0x235)](this[_0x391ecf(0x215)]))this[_0x391ecf(0x205)](_0x43a8d6);window[_0x391ecf(0x21e)](_0x391ecf(0x216),this[_0x391ecf(0x224)]),this[_0x391ecf(0x224)][_0x391ecf(0x1fe)](),this[_0x391ecf(0x1f8)]=null,this[_0x391ecf(0x226)]=!0x1,this[_0x391ecf(0x1fa)]=null;}[_0x3edfca(0x203)](){const _0x5b98bb=_0x3edfca;this[_0x5b98bb(0x226)]&&this[_0x5b98bb(0x213)]();}[_0x3edfca(0x20b)](_0x4a067a){const _0x5d4563=_0x3edfca;if(!_0x4a067a[_0x5d4563(0x1fc)][_0x5d4563(0x207)](_0x5d4563(0x200)))return;const _0xff489b=_0x4a067a[_0x5d4563(0x1fc)][_0x5d4563(0x210)](_0x5d4563(0x200)),_0x6f9509=()=>{const _0x3e21d2=_0x5d4563,_0x91d0d2=_0xff489b[_0x3e21d2(0x22c)]({'annotations':this[_0x3e21d2(0x1fa)],'activeAnnotation':this[_0x3e21d2(0x1f8)]});this[_0x3e21d2(0x231)](_0x91d0d2[0x0]||null);};this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x1ff),_0x6f9509),this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x1fb),(_0xf0e992,{isAnnotationTracked:_0xe9da39})=>{const _0x1d5ca5=_0x5d4563;this[_0x1d5ca5(0x1f8)]&&_0xe9da39(this[_0x1d5ca5(0x1f8)])&&this[_0x1d5ca5(0x231)](null);}),this[_0x5d4563(0x225)](_0xff489b,_0x5d4563(0x206),()=>{const _0x2472a9=_0x5d4563;this[_0x2472a9(0x224)]();}),this[_0x5d4563(0x225)](this[_0x5d4563(0x1fa)],_0x5d4563(0x1fb),_0x21f379=>{const _0x12db3b=_0x5d4563;_0xff489b[_0x12db3b(0x218)]()&&(_0x6f9509(),_0x21f379[_0x12db3b(0x209)]());},{'priority':_0x5d4563(0x204)}),this[_0x5d4563(0x215)][_0x5d4563(0x220)](_0xff489b);}[_0x3edfca(0x205)](_0x28aa46){const _0x5e5975=_0x3edfca;this[_0x5e5975(0x202)](_0x28aa46),this[_0x5e5975(0x215)][_0x5e5975(0x232)](_0x28aa46);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x423e(_0x9a34bd,_0x333194){const _0x15a2f3=_0x15a2();return _0x423e=function(_0x423e09,_0x3aff4e){_0x423e09=_0x423e09-0x12c;let _0x55ae48=_0x15a2f3[_0x423e09];return _0x55ae48;},_0x423e(_0x9a34bd,_0x333194);}function _0x15a2(){const _0x37bd45=['34HymLPF','123185oowEbN','getLastMatchingPosition','backward','isEnabled','tableCell','$textProxy','1267wSyorl','substr','5377041nBvmxp','comment:','editor','element','document','isObject','_hasContent','1001787oyLFqI','_itemIsContent','76qAadTV','13086sbsnfN','refresh','start','createRange','end','3596ynWaAO','schema','model','execute','11719020zzyuFK','addMarker','657672CyDyHo','change','getItems','_trimToContent','push','item','getRanges','selection'];_0x15a2=function(){return _0x37bd45;};return _0x15a2();}const _0x5a67cc=_0x423e;(function(_0xb47712,_0x2f582d){const _0x1892e3=_0x423e,_0x5d3bc7=_0xb47712();while(!![]){try{const _0x15657f=-parseInt(_0x1892e3(0x13f))/0x1*(parseInt(_0x1892e3(0x14d))/0x2)+-parseInt(_0x1892e3(0x137))/0x3+-parseInt(_0x1892e3(0x139))/0x4*(-parseInt(_0x1892e3(0x14e))/0x5)+-parseInt(_0x1892e3(0x13a))/0x6*(parseInt(_0x1892e3(0x12e))/0x7)+parseInt(_0x1892e3(0x145))/0x8+-parseInt(_0x1892e3(0x130))/0x9+parseInt(_0x1892e3(0x143))/0xa;if(_0x15657f===_0x2f582d)break;else _0x5d3bc7['push'](_0x5d3bc7['shift']());}catch(_0x1e0bde){_0x5d3bc7['push'](_0x5d3bc7['shift']());}}}(_0x15a2,0x51c5f));import{Command as _0x2702ea}from'ckeditor5/src/core.js';import{uid as _0x1a0751}from'ckeditor5/src/utils.js';export default class J extends _0x2702ea{[_0x5a67cc(0x13b)](){const _0x3b5691=_0x5a67cc,_0x208727=this[_0x3b5691(0x132)][_0x3b5691(0x141)][_0x3b5691(0x134)][_0x3b5691(0x14c)];for(const _0x3fe582 of _0x208727[_0x3b5691(0x14b)]())if(this[_0x3b5691(0x136)](_0x3fe582))return void(this[_0x3b5691(0x151)]=!0x0);this[_0x3b5691(0x151)]=!0x1;}[_0x5a67cc(0x142)]({threadId:_0x4862a3=_0x1a0751()}={}){const _0x215756=_0x5a67cc,_0x449b7f=this[_0x215756(0x132)][_0x215756(0x141)],_0x393b97=[];for(const _0x241896 of _0x449b7f[_0x215756(0x134)][_0x215756(0x14c)][_0x215756(0x14b)]())this[_0x215756(0x136)](_0x241896)&&_0x393b97[_0x215756(0x149)](this[_0x215756(0x148)](_0x241896));_0x449b7f[_0x215756(0x146)](_0x51d436=>{const _0x165a5e=_0x215756;for(const _0x54e08a of _0x393b97){const _0x51f0d9=_0x1a0751()[_0x165a5e(0x12f)](0x1,0x5),_0x4e5908=_0x165a5e(0x131)+_0x4862a3+':'+_0x51f0d9;_0x51d436[_0x165a5e(0x144)](_0x4e5908,{'range':_0x54e08a,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5a67cc(0x136)](_0x54c33d){const _0x44e83d=_0x5a67cc;for(const _0x137fd7 of _0x54c33d[_0x44e83d(0x147)]())if(this[_0x44e83d(0x138)](_0x137fd7))return!0x0;return!0x1;}[_0x5a67cc(0x138)](_0x1cb3fe){const _0x4ca4c0=_0x5a67cc;return _0x1cb3fe['is'](_0x4ca4c0(0x12d))||this[_0x4ca4c0(0x132)][_0x4ca4c0(0x141)][_0x4ca4c0(0x140)][_0x4ca4c0(0x135)](_0x1cb3fe)&&!_0x1cb3fe['is'](_0x4ca4c0(0x133),_0x4ca4c0(0x12c));}[_0x5a67cc(0x148)](_0x15b888){const _0x498bed=_0x5a67cc,_0xf8779a=_0x1d5ab6=>!this[_0x498bed(0x138)](_0x1d5ab6[_0x498bed(0x14a)]),_0x2f25c2=_0x15b888[_0x498bed(0x13c)][_0x498bed(0x14f)](_0xf8779a),_0x3d5b6b=_0x15b888[_0x498bed(0x13e)][_0x498bed(0x14f)](_0xf8779a,{'direction':_0x498bed(0x150)});return this[_0x498bed(0x132)][_0x498bed(0x141)][_0x498bed(0x13d)](_0x2f25c2,_0x3d5b6b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x51aa(){const _0x24fbd0=['collection','isVisible','pluginName','highest','context','addCommentThread','isActive','plugins','remove','activate','has','3682SPLgLe','69JiuRne','62974nzzxkp','64209QBnFhN','CommentsArchive','get','3760076PsXsnR','requires','archivedAt','removeCommentThread','6472YiLUUc','5jLZOXz','getCommentThread','archivedThreads','length','6192450ujERxV','listenTo','findIndex','_calculatePosition','stopListening','610WlxqKT','change:archivedAt','4505445fHdUrJ','init','focus','add','487663iQPFaw'];_0x51aa=function(){return _0x24fbd0;};return _0x51aa();}const _0x2a9a52=_0x4b7c;(function(_0x48deb6,_0x2e3e50){const _0x1bab30=_0x4b7c,_0x3ac2e2=_0x48deb6();while(!![]){try{const _0x333861=-parseInt(_0x1bab30(0x168))/0x1+-parseInt(_0x1bab30(0x167))/0x2*(parseInt(_0x1bab30(0x166))/0x3)+-parseInt(_0x1bab30(0x16b))/0x4*(-parseInt(_0x1bab30(0x170))/0x5)+-parseInt(_0x1bab30(0x174))/0x6+-parseInt(_0x1bab30(0x165))/0x7*(parseInt(_0x1bab30(0x16f))/0x8)+-parseInt(_0x1bab30(0x155))/0x9+parseInt(_0x1bab30(0x153))/0xa*(parseInt(_0x1bab30(0x159))/0xb);if(_0x333861===_0x2e3e50)break;else _0x3ac2e2['push'](_0x3ac2e2['shift']());}catch(_0x559091){_0x3ac2e2['push'](_0x3ac2e2['shift']());}}}(_0x51aa,0xdb2ac));function _0x4b7c(_0x4aa443,_0x1d6ee9){const _0x51aabe=_0x51aa();return _0x4b7c=function(_0x4b7c9b,_0x4757ae){_0x4b7c9b=_0x4b7c9b-0x153;let _0x5e6c0d=_0x51aabe[_0x4b7c9b];return _0x5e6c0d;},_0x4b7c(_0x4aa443,_0x1d6ee9);}import{ContextPlugin as _0x1b5936}from'ckeditor5/src/core.js';import{Collection as _0x15df3c}from'ckeditor5/src/utils.js';import _0x10f2fc from'./commentsrepository.js';import _0x173a58 from'../annotations/annotations.js';export default class p extends _0x1b5936{static get[_0x2a9a52(0x15c)](){const _0x1136ce=_0x2a9a52;return _0x1136ce(0x169);}static get[_0x2a9a52(0x16c)](){return[_0x10f2fc,_0x173a58];}constructor(_0x49d3c2){const _0x3fd98f=_0x2a9a52;super(_0x49d3c2),this[_0x3fd98f(0x172)]=new _0x15df3c();}[_0x2a9a52(0x156)](){const _0x59c269=_0x2a9a52,_0x500de4=this[_0x59c269(0x15e)],_0x4e9d34=_0x500de4[_0x59c269(0x161)][_0x59c269(0x16a)](_0x10f2fc),_0x533bfe=_0x500de4[_0x59c269(0x161)][_0x59c269(0x16a)](_0x173a58);this[_0x59c269(0x175)](_0x4e9d34,_0x59c269(0x15f),(_0x45f821,{threadId:_0x287dad})=>{const _0x3ea339=_0x59c269,_0x2c729e=_0x4e9d34[_0x3ea339(0x171)](_0x287dad);_0x2c729e[_0x3ea339(0x16d)]&&this[_0x3ea339(0x172)][_0x3ea339(0x158)](_0x2c729e,this[_0x3ea339(0x177)](_0x2c729e[_0x3ea339(0x16d)])),this[_0x3ea339(0x175)](_0x2c729e,_0x3ea339(0x154),(_0x35f57a,_0x2b6049,_0x128ec3)=>{const _0x57ea6a=_0x3ea339;_0x128ec3?this[_0x57ea6a(0x172)][_0x57ea6a(0x164)](_0x2c729e)||this[_0x57ea6a(0x172)][_0x57ea6a(0x158)](_0x2c729e,this[_0x57ea6a(0x177)](_0x2c729e[_0x57ea6a(0x16d)])):this[_0x57ea6a(0x172)][_0x57ea6a(0x164)](_0x2c729e)&&this[_0x57ea6a(0x172)][_0x57ea6a(0x162)](_0x2c729e);});}),this[_0x59c269(0x175)](_0x4e9d34,_0x59c269(0x16e),(_0x29fd2a,{threadId:_0x4c793a})=>{const _0x45b8b8=_0x59c269,_0x3c4b5a=_0x4e9d34[_0x45b8b8(0x171)](_0x4c793a);this[_0x45b8b8(0x178)](_0x3c4b5a),this[_0x45b8b8(0x172)][_0x45b8b8(0x164)](_0x3c4b5a)&&this[_0x45b8b8(0x172)][_0x45b8b8(0x162)](_0x3c4b5a);},{'priority':_0x59c269(0x15d)}),this[_0x59c269(0x175)](_0x533bfe[_0x59c269(0x15a)],_0x59c269(0x157),(_0xd1be0f,_0x1dcf3a)=>{const _0x67142a=_0x59c269;_0x1dcf3a[_0x67142a(0x15b)]||(_0x1dcf3a[_0x67142a(0x160)]=!0x0,_0x533bfe[_0x67142a(0x163)](_0x1dcf3a));});}[_0x2a9a52(0x177)](_0x2c364a){const _0x23369e=_0x2a9a52,_0xe4b5fe=[...this[_0x23369e(0x172)]][_0x23369e(0x176)](_0xa04161=>_0xa04161[_0x23369e(0x16d)]<_0x2c364a);return _0xe4b5fe>-0x1?_0xe4b5fe:this[_0x23369e(0x172)][_0x23369e(0x173)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ad83e=_0x1747;(function(_0x29ce67,_0x111aaa){const _0x16957e=_0x1747,_0xf92a7d=_0x29ce67();while(!![]){try{const _0xf76b2c=-parseInt(_0x16957e(0x1c4))/0x1+-parseInt(_0x16957e(0x1b5))/0x2+-parseInt(_0x16957e(0x1ea))/0x3+-parseInt(_0x16957e(0x1b6))/0x4+-parseInt(_0x16957e(0x1dd))/0x5+parseInt(_0x16957e(0x1b7))/0x6*(-parseInt(_0x16957e(0x1e0))/0x7)+parseInt(_0x16957e(0x1ec))/0x8;if(_0xf76b2c===_0x111aaa)break;else _0xf92a7d['push'](_0xf92a7d['shift']());}catch(_0x2a43a0){_0xf92a7d['push'](_0xf92a7d['shift']());}}}(_0x31d7,0x44dcd));import'../../theme/commentsarchive.css';import{Plugin as _0x1a2622}from'ckeditor5/src/core.js';import{ViewCollection as _0x587ccb,MenuBarMenuListItemButtonView as _0x345cda,ButtonView as _0x4dff67,Dialog as _0x387710,DialogViewPosition as _0x68a2de}from'ckeditor5/src/ui.js';import _0x2ffb48 from'../../theme/icons/comments-archive.svg';function _0x1747(_0x45ae03,_0x4714e1){const _0x31d7a7=_0x31d7();return _0x1747=function(_0x17477f,_0x57711e){_0x17477f=_0x17477f-0x1b0;let _0x17dbba=_0x31d7a7[_0x17477f];return _0x17dbba;},_0x1747(_0x45ae03,_0x4714e1);}import{getTranslation as _0x16e438}from'../utils/common-translations.js';import _0x280cea from'./ui/view/commentsarchiveview.js';import _0x3da779 from'./commentsarchive.js';function _0x31d7(){const _0x5cd2da=['CommentsArchiveUI','componentFactory','Dialog','indexOf','findIndex','_toggleDialog','remove','annotationViews','isVisible','370794mDpiiB','isOn','config','_visibleAnnotations','_createCommentsArchiveButton','filter','menuitemcheckbox','getByInnerView','archivedAt','stop','focusableElements','set','push','splice','stopListening','commentsArchive','hide','_pendingThreads','_hideDialogOnAnnotationEscape','archivedThreads','show','locale','channelId','Annotations','source','2516080XzrCUo','add','bind','14DrUmJL','EDITOR_TOP_SIDE','collection','execute','isEnabled','view','editor','_threadToController','escape','COMMENTS_ARCHIVE','720468ppgauG','pluginName','14802384ztkWLG','listenTo','init','commentsArchiveView','menuBar:commentsArchive','collaboration.channelId','innerView','plugins','tooltip','find','get','CommentsRepository','requires','_calculatePosition','31788wtVfmP','523220rZBztK','922116iTrcXU','has','isOpen','length'];_0x31d7=function(){return _0x5cd2da;};return _0x31d7();}export default class a extends _0x1a2622{static get[_0x5ad83e(0x1eb)](){const _0x2ab6a5=_0x5ad83e;return _0x2ab6a5(0x1bb);}static get[_0x5ad83e(0x1b3)](){return[_0x3da779,_0x387710];}constructor(_0x3f15eb){const _0x294389=_0x5ad83e;super(_0x3f15eb),this[_0x294389(0x1d6)]=_0x68871e=>{const _0x557986=_0x294389,_0x3150c1=_0x68871e[_0x557986(0x1dc)];if(!this[_0x557986(0x1c2)][_0x557986(0x1b8)](_0x3150c1[_0x557986(0x1e5)]))return;const _0x258d65=this[_0x557986(0x1e6)][_0x557986(0x1f3)][_0x557986(0x1b1)](_0x557986(0x1bd));_0x258d65[_0x557986(0x1b9)]&&_0x557986(0x1d3)===_0x258d65['id']&&(_0x258d65[_0x557986(0x1d4)](),_0x68871e[_0x557986(0x1cd)]());},this[_0x294389(0x1c2)]=new _0x587ccb(),this[_0x294389(0x1d5)]=[];}[_0x5ad83e(0x1ee)](){const _0x346263=_0x5ad83e,_0x2f5c56=this[_0x346263(0x1e6)],_0x5c37f8=this[_0x346263(0x1d6)][_0x346263(0x1df)](this);_0x2f5c56['ui'][_0x346263(0x1bc)][_0x346263(0x1de)](_0x346263(0x1d3),()=>this[_0x346263(0x1c8)](_0x4dff67,!0x0)),_0x2f5c56['ui'][_0x346263(0x1bc)][_0x346263(0x1de)](_0x346263(0x1f0),()=>{const _0x6a4061=_0x346263,_0x45b6fb=this[_0x6a4061(0x1c8)](_0x345cda);return _0x45b6fb[_0x6a4061(0x1cf)]({'role':_0x6a4061(0x1ca)}),_0x45b6fb;});const _0xdd8b5f=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x3da779),_0x1f5d3d=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x346263(0x1db)),_0x4609d8=_0x2f5c56[_0x346263(0x1f3)][_0x346263(0x1b1)](_0x346263(0x1b2));this[_0x346263(0x1ed)](_0xdd8b5f[_0x346263(0x1d7)],_0x346263(0x1de),(_0x14d744,_0x21f8b6)=>{const _0x35815e=_0x346263,_0x47bc05=_0x2f5c56[_0x35815e(0x1c6)][_0x35815e(0x1b1)](_0x35815e(0x1f1));if(!_0x47bc05||_0x21f8b6[_0x35815e(0x1da)]===_0x47bc05){const _0x1671be=_0x4609d8[_0x35815e(0x1e7)][_0x35815e(0x1b1)](_0x21f8b6);if(!_0x1671be)return void this[_0x35815e(0x1d5)][_0x35815e(0x1d0)](_0x21f8b6);const _0x5aa047=this[_0x35815e(0x1b4)](_0x21f8b6[_0x35815e(0x1cc)]),_0x508ccd=_0x1f5d3d[_0x35815e(0x1cb)](_0x1671be[_0x35815e(0x1e5)]);_0x508ccd[_0x35815e(0x1c3)]&&_0x1f5d3d[_0x35815e(0x1c7)][_0x35815e(0x1c1)](_0x508ccd),this[_0x35815e(0x1c2)][_0x35815e(0x1de)](_0x508ccd[_0x35815e(0x1e5)],_0x5aa047);}}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1de),(_0x4ef904,_0x5675ea)=>{const _0x3c21bc=_0x346263,_0x184cc1=this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1b0)](_0x3b263a=>{const _0x149fd2=_0x3c21bc,_0x4f67eb=_0x4609d8[_0x149fd2(0x1e7)][_0x149fd2(0x1b1)](_0x3b263a);return _0x4f67eb&&_0x5675ea[_0x149fd2(0x1f2)]===_0x4f67eb[_0x149fd2(0x1e5)];});if(_0x184cc1){const _0x1d2d67=this[_0x3c21bc(0x1b4)](_0x184cc1[_0x3c21bc(0x1cc)]);this[_0x3c21bc(0x1c2)][_0x3c21bc(0x1de)](_0x5675ea[_0x3c21bc(0x1e5)],_0x1d2d67),this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1d1)](this[_0x3c21bc(0x1d5)][_0x3c21bc(0x1be)](_0x184cc1),0x1);}}),this[_0x346263(0x1ed)](_0xdd8b5f[_0x346263(0x1d7)],_0x346263(0x1c1),(_0x46126d,_0x17cae3)=>{const _0x29d4dc=_0x346263,_0x40a38f=_0x2f5c56[_0x29d4dc(0x1c6)][_0x29d4dc(0x1b1)](_0x29d4dc(0x1f1));if(!_0x40a38f||_0x17cae3[_0x29d4dc(0x1da)]===_0x40a38f){const _0x134b48=_0x4609d8[_0x29d4dc(0x1e7)][_0x29d4dc(0x1b1)](_0x17cae3),_0x429869=_0x1f5d3d[_0x29d4dc(0x1cb)](_0x134b48[_0x29d4dc(0x1e5)]);this[_0x29d4dc(0x1c2)][_0x29d4dc(0x1c1)](_0x429869[_0x29d4dc(0x1e5)]),this[_0x29d4dc(0x1d2)](_0x429869[_0x29d4dc(0x1ce)]);}}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1de),(_0x525df1,_0x7e9d90)=>{const _0x2385fb=_0x346263;this[_0x2385fb(0x1ed)](_0x7e9d90,_0x2385fb(0x1e8),_0x5c37f8);}),this[_0x346263(0x1ed)](_0x1f5d3d[_0x346263(0x1e2)],_0x346263(0x1c1),(_0x1481c2,_0x342c3c)=>{const _0x527f6c=_0x346263;this[_0x527f6c(0x1d2)](_0x342c3c,_0x527f6c(0x1e8),_0x5c37f8);});}[_0x5ad83e(0x1b4)](_0x27f5e4){const _0x29f3e3=_0x5ad83e,_0x4bedf6=this[_0x29f3e3(0x1e6)][_0x29f3e3(0x1c6)][_0x29f3e3(0x1b1)](_0x29f3e3(0x1f1)),_0x39343f=[...this[_0x29f3e3(0x1e6)][_0x29f3e3(0x1f3)][_0x29f3e3(0x1b1)](_0x3da779)[_0x29f3e3(0x1d7)]][_0x29f3e3(0x1c9)](_0x399975=>_0x399975[_0x29f3e3(0x1da)]===_0x4bedf6)[_0x29f3e3(0x1bf)](_0x41e6c8=>_0x41e6c8[_0x29f3e3(0x1cc)]<_0x27f5e4);return _0x39343f<0x0||_0x39343f>this[_0x29f3e3(0x1c2)][_0x29f3e3(0x1ba)]?this[_0x29f3e3(0x1c2)][_0x29f3e3(0x1ba)]:_0x39343f-0x1;}[_0x5ad83e(0x1c0)](){const _0x532eb7=_0x5ad83e,_0xbd6a7c=this[_0x532eb7(0x1e6)],_0x28e7e5=_0xbd6a7c[_0x532eb7(0x1f3)][_0x532eb7(0x1b1)](_0x532eb7(0x1bd));this[_0x532eb7(0x1ef)]||(this[_0x532eb7(0x1ef)]=new _0x280cea(_0xbd6a7c[_0x532eb7(0x1d9)],this[_0x532eb7(0x1c2)])),_0x532eb7(0x1d3)===_0x28e7e5['id']?_0x28e7e5[_0x532eb7(0x1d4)]():_0x28e7e5[_0x532eb7(0x1d8)]({'id':_0x532eb7(0x1d3),'title':_0x16e438(_0xbd6a7c[_0x532eb7(0x1d9)],_0x532eb7(0x1e9)),'icon':_0x2ffb48,'hasCloseButton':!0x0,'content':this[_0x532eb7(0x1ef)],'position':_0x68a2de[_0x532eb7(0x1e1)]});}[_0x5ad83e(0x1c8)](_0x1ab074,_0x52a8eb=!0x1){const _0x3829ab=_0x5ad83e,_0x538ca7=this[_0x3829ab(0x1e6)][_0x3829ab(0x1d9)],_0x1a4696=this[_0x3829ab(0x1e6)][_0x3829ab(0x1f3)][_0x3829ab(0x1b1)](_0x3829ab(0x1bd)),_0x3f3a0b=new _0x1ab074(_0x538ca7);return _0x3f3a0b[_0x3829ab(0x1df)](_0x3829ab(0x1e4))['to'](this,_0x3829ab(0x1e4)),_0x3f3a0b[_0x3829ab(0x1df)](_0x3829ab(0x1c5))['to'](_0x1a4696,'id',_0xe31559=>_0x3829ab(0x1d3)===_0xe31559),_0x3f3a0b[_0x3829ab(0x1cf)]({'label':_0x16e438(_0x538ca7,_0x3829ab(0x1e9)),'icon':_0x2ffb48,'isToggleable':!0x0}),_0x52a8eb&&(_0x3f3a0b[_0x3829ab(0x1f4)]=!0x0),this[_0x3829ab(0x1ed)](_0x3f3a0b,_0x3829ab(0x1e3),()=>this[_0x3829ab(0x1c0)]()),_0x3f3a0b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21f5e7=_0xcf6e;(function(_0x86f5bf,_0x170a22){const _0x16f6a0=_0xcf6e,_0x595890=_0x86f5bf();while(!![]){try{const _0x31eff5=-parseInt(_0x16f6a0(0x152))/0x1*(-parseInt(_0x16f6a0(0x15d))/0x2)+-parseInt(_0x16f6a0(0x14d))/0x3+parseInt(_0x16f6a0(0x1bf))/0x4*(-parseInt(_0x16f6a0(0x170))/0x5)+parseInt(_0x16f6a0(0x19c))/0x6+parseInt(_0x16f6a0(0x131))/0x7+parseInt(_0x16f6a0(0x16b))/0x8*(-parseInt(_0x16f6a0(0x17b))/0x9)+-parseInt(_0x16f6a0(0x147))/0xa*(parseInt(_0x16f6a0(0x153))/0xb);if(_0x31eff5===_0x170a22)break;else _0x595890['push'](_0x595890['shift']());}catch(_0x230dd4){_0x595890['push'](_0x595890['shift']());}}}(_0x252d,0xa774a));import{Plugin as _0x47d541}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1d1446,scrollViewportToShowTarget as _0x345488}from'ckeditor5/src/utils.js';import _0x210131 from'./commentsrepository.js';import _0x3bdd0f from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x1adb47,getAllMarkersDomElementsSorted as _0x52fbc0,FOCUS_ANNOTATION_KEYSTROKE as _0x38bd3d,Users as _0x573c09}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x7662a1 from'../annotations/editorannotations.js';import _0x1062bb from'./integrations/commentsrestrictededitingmode.js';function _0xcf6e(_0x29f397,_0x2532be){const _0x252d30=_0x252d();return _0xcf6e=function(_0xcf6e0e,_0x3b4176){_0xcf6e0e=_0xcf6e0e-0x12d;let _0x2dedff=_0x252d30[_0xcf6e0e];return _0x2dedff;},_0xcf6e(_0x29f397,_0x2532be);}import _0x13a542 from'./integrations/importword.js';function _0x252d(){const _0x204e83=['conversion','differ','document','registerPostFixer','affectsData','ENTER_COMMENT_ANNOUNCEMENT','hasContent','state','$marker','getChangedMarkers','commands','focus','refreshVisibility','createElement','change:activeMarker','config','end','createRange','_threadToController','elementToElement','context','isEqual','render','startsWith','change:isThreadsLoadingPaused','addMarker:','isThreadsLoadingPaused','4FPTYfs','_threads','push','getRange','rootName','change:isReadOnly','getAllMarkersForId','editingDowncast','$textProxy','announce','getAttribute','7438886UJkdOO','managedUsingOperations','isObject','markerToHighlight','updateMarker','hasCommentThread','from','for','ready','set','comment:','consume','getCommentThreads','substring','add','_handleThreadMarker','first','_hasTargetInContent','_getTargetForId','unlinkedAt','ck-comment-marker--active','start','9830ahuVVG','setUnlinkedAt','_attachArchivedThread','reconvertMarker','requires','_getTextContext','1844541EhziEE','_detachCommentThread','attachTo','ck-comment-marker','getWalker','36685fyWCbt','1914QDzAha','reopenCommentThread','removeMarker:','item','isAttached','author','newRange','resolveCommentThread','text','addComment','36BiHVtY','once','change','consumable','_initializeMarkerConverters','delete','CommentsEditing','length','ariaLiveAnnouncer','isLocal','getItems','getByInnerView','dataToMarker','view','3663424YviHFj','comments','root','then','hasMarkerForId','804950hSTuIm','registerAnnotation','model','comment','isResolved','name','fetchCommentThread','ignoreResolvedComments','hasDomSelection','get','listenTo','18dhbHMJ','_handleMarkerAddAndRemove','size','markerName','destroy','destroyed','markers','enqueueChange','openNewCommentThread','markerToData','plugins','isCollapsed','collaboration.channelId','_attachMarkerToThread','split','LEAVE_COMMENT_ANNOUNCEMENT','scrollToThreadMarker','schema','removeMarker','$graveyard','data','switchReadOnly','group','getCommentThread','upcast','_reconvertMarkers','activeMarker','setContext','low','clear','init','createPositionBefore','editor','4953630DitAfm','pluginName','addCommentThread','_initAriaMarkerChangeAnnouncements','editing','removeCommentThread','dataDowncast','locale'];_0x252d=function(){return _0x204e83;};return _0x252d();}import _0x2ca4f3 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x86349b from'../annotations/annotations.js';import{getTranslation as _0x170480}from'../utils/common-translations.js';export default class r extends _0x47d541{static get[_0x21f5e7(0x14b)](){return[_0x210131,_0x7662a1,_0x573c09,_0x1062bb,_0x13a542,_0x2ca4f3];}static get[_0x21f5e7(0x19d)](){const _0x7644f5=_0x21f5e7;return _0x7644f5(0x163);}constructor(_0x13ef44){const _0x9a8e35=_0x21f5e7;super(_0x13ef44),this[_0x9a8e35(0x13a)](_0x9a8e35(0x1be),!0x0),_0x13ef44[_0x9a8e35(0x18f)][_0x9a8e35(0x15e)](_0x9a8e35(0x139),()=>this[_0x9a8e35(0x1be)]=!0x1),this[_0x9a8e35(0x13a)](_0x9a8e35(0x195),null),this['on'](_0x9a8e35(0x1b2),(_0x21b6b1,_0x16f1c6,_0x1e2716,_0x456c7d)=>{const _0x491dd3=_0x9a8e35,_0x41d726=_0x1e2716?splitMarkerName(_0x1e2716)['id']:null;if(_0x13ef44[_0x491dd3(0x172)][_0x491dd3(0x15f)](()=>{const _0x30c1c2=_0x491dd3;if(_0x41d726){const _0x392755=this[_0x30c1c2(0x1c5)](_0x41d726);for(const _0x562fa1 of _0x392755)_0x13ef44[_0x30c1c2(0x1a0)][_0x30c1c2(0x14a)](_0x562fa1);}if(_0x456c7d){const {id:_0x28c2b3}=splitMarkerName(_0x456c7d),_0x57f181=this[_0x30c1c2(0x1c5)](_0x28c2b3);for(const _0x555f8b of _0x57f181)_0x13ef44[_0x30c1c2(0x1a0)][_0x30c1c2(0x14a)](_0x555f8b);}}),_0x41d726){const _0x33b2b4=_0x13ef44[_0x491dd3(0x185)][_0x491dd3(0x179)](_0x210131)[_0x491dd3(0x192)](_0x41d726);_0x33b2b4&&_0x33b2b4[_0x491dd3(0x174)]&&this[_0x491dd3(0x18b)](_0x41d726);}}),this[_0x9a8e35(0x19f)]();}[_0x21f5e7(0x199)](){const _0x130959=_0x21f5e7,_0x236cf4=this[_0x130959(0x19b)],_0x3c3d06=_0x236cf4[_0x130959(0x185)][_0x130959(0x179)](_0x210131),_0x4cf475=_0x236cf4[_0x130959(0x1b3)][_0x130959(0x179)](_0x130959(0x187));_0x236cf4[_0x130959(0x1ae)][_0x130959(0x13f)](_0x130959(0x19e),new _0x3bdd0f(_0x236cf4)),this[_0x130959(0x17a)](_0x236cf4,_0x130959(0x1c4),(_0x3f09cf,_0xb40db0,_0xb0443b)=>{const _0x2d93d2=_0x130959;_0x3c3d06[_0x2d93d2(0x190)](_0xb0443b,_0x236cf4[_0x2d93d2(0x1b3)][_0x2d93d2(0x179)](_0x2d93d2(0x187)));}),this[_0x130959(0x17a)](_0x3c3d06,mt(_0x130959(0x19e),_0x4cf475),(_0x35db93,{threadId:_0x4575a3})=>{const _0x188775=_0x130959,_0xc5bdee=this[_0x188775(0x19b)][_0x188775(0x185)][_0x188775(0x179)](_0x210131)[_0x188775(0x192)](_0x4575a3);_0xc5bdee&&_0xc5bdee[_0x188775(0x144)]&&this[_0x188775(0x149)](_0x4575a3);}),this[_0x130959(0x17a)](_0x3c3d06,mt(_0x130959(0x1a1),_0x4cf475),(_0x4988f9,{threadId:_0x1edc73})=>{const _0x369617=_0x130959;_0x236cf4[_0x369617(0x172)][_0x369617(0x182)]({'isUndoable':!0x1},_0x464302=>{const _0x42de19=_0x369617,_0x396102=this[_0x42de19(0x1c5)](_0x1edc73);for(const _0x51e238 of _0x396102)_0x464302[_0x42de19(0x18d)](_0x51e238);});}),this[_0x130959(0x17a)](_0x3c3d06,mt(_0x130959(0x15a),_0x4cf475),(_0x1dfb08,{threadId:_0x347692})=>{const _0x5a740e=_0x130959;(this[_0x5a740e(0x194)](_0x347692),this[_0x5a740e(0x19b)][_0x5a740e(0x1a0)][_0x5a740e(0x16a)][_0x5a740e(0x178)])&&(this[_0x5a740e(0x19b)][_0x5a740e(0x185)][_0x5a740e(0x179)](_0x210131)[_0x5a740e(0x192)](_0x347692)[_0x5a740e(0x144)]||this[_0x5a740e(0x19b)][_0x5a740e(0x1a0)][_0x5a740e(0x16a)][_0x5a740e(0x1af)]());},{'priority':_0x130959(0x197)}),this[_0x130959(0x17a)](_0x3c3d06,mt(_0x130959(0x154),_0x4cf475),(_0x2bc517,{threadId:_0x42df4d})=>{const _0xe887e1=_0x130959;this[_0xe887e1(0x194)](_0x42df4d);},{'priority':_0x130959(0x197)}),this[_0x130959(0x17a)](_0x3c3d06,mt(_0x130959(0x15c),_0x4cf475),(_0xcb04bc,{threadId:_0x59c1b5,isFromAdapter:_0x1786f7})=>{const _0x1f9076=_0x130959,_0x40afa1=this[_0x1f9076(0x1c5)](_0x59c1b5);if(_0x1786f7||0x0==_0x40afa1[_0x1f9076(0x164)]||!_0x3c3d06[_0x1f9076(0x136)](_0x59c1b5))return;0x1===_0x3c3d06[_0x1f9076(0x192)](_0x59c1b5)[_0x1f9076(0x164)]&&_0x236cf4[_0x1f9076(0x172)][_0x1f9076(0x182)]({'isUndoable':!0x1},_0x10e86b=>{const _0x1ca515=_0x1f9076;for(const _0x29f889 of _0x40afa1)_0x10e86b[_0x1ca515(0x135)](_0x29f889,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x130959(0x197)}),this[_0x130959(0x161)](),this[_0x130959(0x17c)]();}[_0x21f5e7(0x17f)](){const _0x5297cd=_0x21f5e7,_0x31be85=this[_0x5297cd(0x19b)][_0x5297cd(0x185)][_0x5297cd(0x179)](_0x210131),_0x1eebcb=this[_0x5297cd(0x19b)][_0x5297cd(0x1b3)][_0x5297cd(0x179)](_0x5297cd(0x187));for(const _0x43a8e3 of _0x31be85[_0x5297cd(0x13d)]({'channelId':_0x1eebcb}))_0x31be85[_0x5297cd(0x14e)](_0x43a8e3['id']),_0x31be85[_0x5297cd(0x1c0)][_0x5297cd(0x162)](_0x43a8e3['id']);super[_0x5297cd(0x17f)]();}[_0x21f5e7(0x16f)](_0x5f0a9f){const _0x387e01=_0x21f5e7;return this[_0x387e01(0x1c5)](_0x5f0a9f)[_0x387e01(0x164)]>0x0;}[_0x21f5e7(0x1c5)](_0x93cd2){const _0x25ce18=_0x21f5e7,_0x58846d=[];for(const _0x3e584b of this[_0x25ce18(0x19b)][_0x25ce18(0x172)][_0x25ce18(0x181)])_0x3e584b[_0x25ce18(0x175)][_0x25ce18(0x1bb)](_0x25ce18(0x13b)+_0x93cd2)&&_0x58846d[_0x25ce18(0x1c1)](_0x3e584b);return _0x58846d;}[_0x21f5e7(0x18b)](_0xccde0f){const _0x390428=_0x21f5e7,_0x3c505a=this[_0x390428(0x143)](_0xccde0f);_0x3c505a&&setTimeout(()=>{const _0x1ed758=_0x390428;this[_0x1ed758(0x195)]&&splitMarkerName(this[_0x1ed758(0x195)])['id']===_0xccde0f&&_0x345488({'target':_0x3c505a[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x21f5e7(0x194)](_0x404059){const _0x93c757=_0x21f5e7;this[_0x93c757(0x19b)][_0x93c757(0x172)][_0x93c757(0x15f)](()=>{const _0x56dad8=_0x93c757;for(const _0x2ae06f of this[_0x56dad8(0x1c5)](_0x404059))this[_0x56dad8(0x19b)][_0x56dad8(0x1a0)][_0x56dad8(0x14a)](_0x2ae06f);});}[_0x21f5e7(0x149)](_0x2cfe5a){const _0x10997c=_0x21f5e7,_0x28fea9=this[_0x10997c(0x19b)][_0x10997c(0x185)][_0x10997c(0x179)](_0x210131),_0x4b2145=this[_0x10997c(0x19b)][_0x10997c(0x185)][_0x10997c(0x179)](_0x7662a1),_0x368bed=_0x28fea9[_0x10997c(0x192)](_0x2cfe5a);if(!_0x368bed[_0x10997c(0x157)]){const _0xfd345a=_0x368bed[_0x10997c(0x14f)](()=>this[_0x10997c(0x143)](_0x368bed['id']));_0x4b2145[_0x10997c(0x171)](_0xfd345a),_0x368bed[_0x10997c(0x142)]=!0x1;}}[_0x21f5e7(0x161)](){const _0x260976=_0x21f5e7,_0x160cb6=this[_0x260976(0x19b)],_0x2ff1d8=_0x160cb6[_0x260976(0x185)][_0x260976(0x179)](_0x573c09);_0x160cb6[_0x260976(0x1a4)][_0x260976(0x138)](_0x260976(0x12d))[_0x260976(0x134)]({'model':_0x260976(0x173),'view':(_0x4b541a,_0x44fe09)=>{const _0xd8a37d=_0x260976,{id:_0x1b304f}=splitMarkerName(_0x4b541a[_0xd8a37d(0x17e)]),_0x2e033a=_0x160cb6[_0xd8a37d(0x185)][_0xd8a37d(0x179)](_0x210131)[_0xd8a37d(0x192)](_0x1b304f),_0x306085=this[_0xd8a37d(0x195)]&&splitMarkerName(this[_0xd8a37d(0x195)])['id']===_0x1b304f;let _0x1d2d3a;if(_0x2e033a&&_0x2e033a[_0xd8a37d(0x174)]&&!_0x306085&&_0x4b541a[_0xd8a37d(0x156)])return _0x44fe09[_0xd8a37d(0x160)][_0xd8a37d(0x13c)](_0x4b541a[_0xd8a37d(0x156)],_0xd8a37d(0x1bd)+_0x4b541a[_0xd8a37d(0x17e)]),_0x44fe09[_0xd8a37d(0x160)][_0xd8a37d(0x13c)](_0x4b541a[_0xd8a37d(0x156)],_0xd8a37d(0x155)+_0x4b541a[_0xd8a37d(0x17e)]),null;const _0x166289=[_0xd8a37d(0x150)];return _0x306085&&_0x166289[_0xd8a37d(0x1c1)](_0xd8a37d(0x145)),_0x1d2d3a=_0x2e033a&&_0x2e033a[_0xd8a37d(0x164)]?_0x2e033a[_0xd8a37d(0x16c)][_0xd8a37d(0x141)][_0xd8a37d(0x158)]['id']:_0x2ff1d8['me']['id'],{'classes':_0x166289,'attributes':{'data-comment':_0x1b304f,'data-author-id':_0x1d2d3a}};}}),_0x160cb6[_0x260976(0x1a4)][_0x260976(0x138)](_0x260976(0x1a2))[_0x260976(0x184)]({'model':_0x260976(0x173),'view':(_0x59e7ec,{options:_0x228b6e})=>{const _0x2c50e6=_0x260976,_0x4713ec=_0x160cb6[_0x2c50e6(0x185)][_0x2c50e6(0x179)](_0x210131),_0x46c07d=_0x160cb6[_0x2c50e6(0x172)][_0x2c50e6(0x181)][_0x2c50e6(0x179)](_0x59e7ec),{id:_0x445d20,part:_0x3b03f0}=splitMarkerName(_0x59e7ec);if(_0x46c07d&&!_0x46c07d[_0x2c50e6(0x1a8)])return null;if(_0x228b6e[_0x2c50e6(0x177)]){const _0x43e80f=_0x4713ec[_0x2c50e6(0x192)](_0x445d20);if(_0x43e80f&&_0x43e80f[_0x2c50e6(0x174)])return null;}return{'group':_0x2c50e6(0x173),'name':_0x3b03f0?_0x445d20+':'+_0x3b03f0:_0x445d20};}}),_0x160cb6[_0x260976(0x1a4)][_0x260976(0x138)](_0x260976(0x193))[_0x260976(0x1b7)]({'view':{'name':_0x260976(0x173),'attributes':{'id':/^\w/}},'model':(_0x2f2991,{writer:_0x49616c})=>_0x49616c[_0x260976(0x1b1)](_0x260976(0x1ac),{'data-name':_0x260976(0x13b)+_0x2f2991[_0x260976(0x130)]('id')})}),_0x160cb6[_0x260976(0x1a4)][_0x260976(0x138)](_0x260976(0x193))[_0x260976(0x169)]({'view':_0x260976(0x173)});}[_0x21f5e7(0x17c)](){const _0x3efb23=_0x21f5e7,_0x43b2e8=this[_0x3efb23(0x19b)],_0x147c9e=_0x43b2e8[_0x3efb23(0x185)][_0x3efb23(0x179)](_0x210131),_0x17540c=new Set(),_0x3c4ce4=new Set();_0x43b2e8[_0x3efb23(0x172)][_0x3efb23(0x1a6)][_0x3efb23(0x1a7)](_0x32eec8=>{const _0x33b90f=_0x3efb23;let _0x3c2c58=!0x1;for(const {name:_0x55276b,data:_0x202d24}of _0x43b2e8[_0x33b90f(0x172)][_0x33b90f(0x1a6)][_0x33b90f(0x1a5)][_0x33b90f(0x1ad)]()){const {group:_0x2f348d,id:_0x40fe7d}=splitMarkerName(_0x55276b);let _0x4f0e17=_0x202d24[_0x33b90f(0x159)];if(_0x33b90f(0x173)!==_0x2f348d||!_0x4f0e17)continue;const _0xb29dba=_0x33b90f(0x18e)===_0x4f0e17[_0x33b90f(0x16d)][_0x33b90f(0x1c3)];_0xb29dba||(_0x4f0e17=dt(_0x4f0e17,_0x43b2e8[_0x33b90f(0x172)]),!_0x4f0e17||_0x4f0e17[_0x33b90f(0x186)]||!_0x202d24[_0x33b90f(0x159)]||_0x4f0e17[_0x33b90f(0x1b9)](_0x202d24[_0x33b90f(0x159)]))?_0x43b2e8[_0x33b90f(0x172)][_0x33b90f(0x1aa)](_0x4f0e17)&&!_0xb29dba?this[_0x33b90f(0x1be)]?_0x17540c[_0x33b90f(0x13f)](_0x55276b):this[_0x33b90f(0x140)](_0x55276b,_0x40fe7d):(_0x3c4ce4[_0x33b90f(0x13f)](_0x55276b),_0x17540c[_0x33b90f(0x162)](_0x55276b),_0x32eec8[_0x33b90f(0x18d)](_0x55276b),_0x3c2c58=!0x0):(_0x32eec8[_0x33b90f(0x135)](_0x55276b,{'range':_0x4f0e17}),_0x3c2c58=!0x0);}return _0x3c2c58;}),this['on'](_0x3efb23(0x1bc),(_0x3fdbf5,_0x30edfb,_0x14ee9c)=>{const _0x3a8473=_0x3efb23;if(!_0x14ee9c&&_0x17540c[_0x3a8473(0x17d)])for(const _0x252de3 of _0x17540c){const {id:_0x13130d}=splitMarkerName(_0x252de3);_0x17540c[_0x3a8473(0x162)](_0x252de3),_0x43b2e8[_0x3a8473(0x172)][_0x3a8473(0x181)][_0x3a8473(0x179)](_0x252de3)&&this[_0x3a8473(0x140)](_0x252de3,_0x13130d);}}),this[_0x3efb23(0x17a)](_0x43b2e8[_0x3efb23(0x172)][_0x3efb23(0x1a6)],_0x3efb23(0x15f),(_0x4c7583,_0x5c9fdf)=>{const _0x480413=_0x3efb23;for(const {name:_0x960dbb,data:{newRange:_0xe9201f}}of _0x43b2e8[_0x480413(0x172)][_0x480413(0x1a6)][_0x480413(0x1a5)][_0x480413(0x1ad)]()){const {group:_0x524738,id:_0x12a797}=splitMarkerName(_0x960dbb);if(_0x480413(0x173)!==_0x524738)continue;const _0x19e069=_0x147c9e[_0x480413(0x192)](_0x12a797),_0x2b7800=this[_0x480413(0x16f)](_0x12a797);_0x19e069&&(!_0x19e069[_0x480413(0x142)]&&_0xe9201f&&_0x43b2e8[_0x480413(0x1a0)][_0x480413(0x16a)][_0x480413(0x15e)](_0x480413(0x1ba),()=>{const _0xef4937=_0x480413,_0x236750=_0x43b2e8[_0xef4937(0x185)][_0xef4937(0x179)](_0x86349b),_0x1d44a7=_0x147c9e[_0xef4937(0x1b6)][_0xef4937(0x179)](_0x19e069)[_0xef4937(0x16a)];_0x236750[_0xef4937(0x168)](_0x1d44a7)[_0xef4937(0x1b0)]();},{'priority':_0x480413(0x197)}),_0x19e069[_0x480413(0x142)]=_0x2b7800||!!_0xe9201f),_0xe9201f||(_0x3c4ce4[_0x480413(0x13f)](_0x960dbb),_0x17540c[_0x480413(0x162)](_0x960dbb));}if(_0x5c9fdf[_0x480413(0x166)])for(const _0x2d2cec of _0x3c4ce4){const {id:_0x5e5323}=splitMarkerName(_0x2d2cec),_0x3de503=_0x147c9e[_0x480413(0x192)](_0x5e5323),_0x587a81=this[_0x480413(0x16f)](_0x5e5323);_0x17540c[_0x480413(0x162)](_0x2d2cec),!_0x3de503||_0x587a81||_0x3de503[_0x480413(0x144)]||_0x3de503[_0x480413(0x148)](new Date());}_0x3c4ce4[_0x480413(0x198)]();});}[_0x21f5e7(0x143)](_0x3c4784){const _0x3c3f15=_0x21f5e7,_0x444912=this[_0x3c3f15(0x19b)],_0xb39c74=this[_0x3c3f15(0x1c5)](_0x3c4784);return _0x52fbc0(_0x444912[_0x3c3f15(0x1a0)],_0xb39c74);}[_0x21f5e7(0x14c)](_0x588209){const _0x1e862a=_0x21f5e7,_0x31afde=this[_0x1e862a(0x1c5)](_0x588209);let _0x922a02='',_0x253136=!0x1;for(const _0xc091a6 of _0x31afde){const _0x2347e4=_0xc091a6[_0x1e862a(0x1c2)]();for(const _0x1370e5 of Array[_0x1e862a(0x137)](_0x2347e4[_0x1e862a(0x167)]()))_0x1370e5['is'](_0x1e862a(0x12e))?(_0x922a02&&_0x253136&&(_0x922a02+='\x20',_0x253136=!0x1),_0x922a02+=_0x1370e5[_0x1e862a(0x18f)]):_0x253136=!0x0;_0x253136=!0x0;}return _0x922a02[_0x1e862a(0x13e)](0x0,0x96);}[_0x21f5e7(0x188)](_0x39cb83,_0x1ced8b){const _0x3cec4b=_0x21f5e7,_0x5c7da5=this[_0x3cec4b(0x19b)],_0x19855f=_0x5c7da5[_0x3cec4b(0x185)][_0x3cec4b(0x179)](_0x210131);let _0xe7b62d=_0x19855f[_0x3cec4b(0x192)](_0x1ced8b);const _0x5712c5=_0x5c7da5[_0x3cec4b(0x1b3)][_0x3cec4b(0x179)](_0x3cec4b(0x187)),_0x44d48d=_0x5c7da5[_0x3cec4b(0x185)][_0x3cec4b(0x179)](_0x7662a1);if(_0xe7b62d&&(_0xe7b62d[_0x3cec4b(0x144)]&&_0xe7b62d[_0x3cec4b(0x148)](null),_0xe7b62d[_0x3cec4b(0x157)]))return _0xe7b62d;return!this[_0x3cec4b(0x1c5)](_0x1ced8b)[0x0][_0x3cec4b(0x132)]?_0x5c7da5[_0x3cec4b(0x1a0)][_0x3cec4b(0x16a)][_0x3cec4b(0x15e)](_0x3cec4b(0x1ba),()=>{const _0x320c4f=_0x3cec4b;if(_0x19855f[_0x320c4f(0x192)](_0x1ced8b))return;const _0x3d7998=_0x5c7da5[_0x320c4f(0x185)][_0x320c4f(0x179)](_0x86349b);_0xe7b62d=_0x19855f[_0x320c4f(0x183)]({'channelId':_0x5712c5,'threadId':_0x1ced8b,'target':()=>this[_0x320c4f(0x143)](_0x1ced8b),'context':{'type':_0x320c4f(0x15b),'value':this[_0x320c4f(0x14c)](_0x1ced8b)}});const _0x2e06ec=_0x19855f[_0x320c4f(0x1b6)][_0x320c4f(0x179)](_0xe7b62d)[_0x320c4f(0x16a)],_0x39b40a=_0x3d7998[_0x320c4f(0x168)](_0x2e06ec);_0x39b40a&&_0x44d48d[_0x320c4f(0x171)](_0x39b40a);},{'priority':_0x3cec4b(0x197)}):_0x19855f[_0x3cec4b(0x176)]({'channelId':_0x5712c5,'threadId':_0x1ced8b})[_0x3cec4b(0x16e)](_0x1bec93=>{const _0x2c2a90=_0x3cec4b;if(_0x2c2a90(0x180)!==_0x5c7da5[_0x2c2a90(0x1ab)]){if(_0xe7b62d=_0x1bec93,_0xe7b62d&&!_0xe7b62d[_0x2c2a90(0x157)]){const _0x32e6df=_0xe7b62d[_0x2c2a90(0x14f)](()=>this[_0x2c2a90(0x143)](_0x1ced8b));_0x44d48d[_0x2c2a90(0x171)](_0x32e6df),_0xe7b62d[_0x2c2a90(0x174)]&&this[_0x2c2a90(0x194)](_0x1ced8b);}else{if(!_0xe7b62d){const _0x4a8917=this[_0x2c2a90(0x1c5)](_0x1ced8b);_0x5c7da5[_0x2c2a90(0x172)][_0x2c2a90(0x15f)](_0x763043=>{const _0x1b3022=_0x2c2a90;for(const _0x369770 of _0x4a8917)_0x763043[_0x1b3022(0x18d)](_0x369770);});}}}}),_0xe7b62d;}[_0x21f5e7(0x140)](_0x2b9a94,_0x55f42a){const _0x437580=_0x21f5e7,_0x196bdf=this[_0x437580(0x188)](_0x2b9a94,_0x55f42a);_0x196bdf&&!_0x196bdf[_0x437580(0x1b8)]&&_0x196bdf[_0x437580(0x196)]({'type':_0x437580(0x15b),'value':this[_0x437580(0x14c)](_0x55f42a)});}[_0x21f5e7(0x19f)](){const _0x433ffb=_0x21f5e7,_0x3f9c88=this[_0x433ffb(0x19b)];_0x1adb47(_0x3f9c88[_0x433ffb(0x172)],({left:_0x51fba3,entered:_0x38f470})=>{const _0x98a31a=_0x433ffb;for(const _0x5f3102 of _0x51fba3)if(ht(_0x5f3102)){_0x3f9c88['ui'][_0x98a31a(0x165)][_0x98a31a(0x12f)](_0x170480(_0x3f9c88[_0x98a31a(0x1a3)],_0x98a31a(0x18a)));break;}for(const _0x54d4e1 of _0x38f470)if(ht(_0x54d4e1)){_0x3f9c88['ui'][_0x98a31a(0x165)][_0x98a31a(0x12f)](_0x170480(_0x3f9c88[_0x98a31a(0x1a3)],_0x98a31a(0x1a9),_0x1d1446(_0x38bd3d)));break;}});}}function mt(_0x3af434,_0x399c41){return _0x399c41?_0x3af434+':'+_0x399c41:_0x3af434;}export function splitMarkerName(_0x4b1638){const _0x497294=_0x21f5e7,_0x350081=_0x4b1638[_0x497294(0x189)](':');return{'group':_0x350081[0x0],'id':_0x350081[0x1],'part':_0x350081[0x2]};}function dt(_0x17e333,_0x4f4082){const _0x4f8c5b=_0x21f5e7,_0x403b11=_0x4f4082[_0x4f8c5b(0x18c)],_0x3c2465=_0x4f4082[_0x4f8c5b(0x1b5)](_0x17e333[_0x4f8c5b(0x146)]);for(const _0x7e3b4b of _0x17e333[_0x4f8c5b(0x151)]()){const {type:_0x796408,item:_0x48b369,nextPosition:_0x974dab}=_0x7e3b4b;if(_0x4f8c5b(0x15b)===_0x796408||_0x403b11[_0x4f8c5b(0x133)](_0x48b369)){const _0x107f16=_0x4f4082[_0x4f8c5b(0x19a)](_0x48b369);_0x3c2465[_0x4f8c5b(0x186)]&&(_0x3c2465[_0x4f8c5b(0x146)]=_0x107f16),_0x3c2465[_0x4f8c5b(0x1b4)]=_0x974dab;}}return _0x3c2465;}function ht(_0x5b3cae){const _0xcca55a=_0x21f5e7;return _0xcca55a(0x173)===splitMarkerName(_0x5b3cae[_0xcca55a(0x175)])[_0xcca55a(0x191)];}
|
|
23
|
+
const _0x35b685=_0xe122;function _0xe122(_0x33ba30,_0x333c85){const _0x7773e2=_0x7773();return _0xe122=function(_0xe1220d,_0x5daced){_0xe1220d=_0xe1220d-0x101;let _0x30dbaa=_0x7773e2[_0xe1220d];return _0x30dbaa;},_0xe122(_0x33ba30,_0x333c85);}(function(_0x39cbf3,_0x18a47d){const _0x137e57=_0xe122,_0x7a2c36=_0x39cbf3();while(!![]){try{const _0x49cafe=-parseInt(_0x137e57(0x11d))/0x1+-parseInt(_0x137e57(0x119))/0x2*(parseInt(_0x137e57(0x18b))/0x3)+-parseInt(_0x137e57(0x164))/0x4*(-parseInt(_0x137e57(0x111))/0x5)+-parseInt(_0x137e57(0x14a))/0x6+-parseInt(_0x137e57(0x146))/0x7+parseInt(_0x137e57(0x159))/0x8*(-parseInt(_0x137e57(0x143))/0x9)+parseInt(_0x137e57(0x17c))/0xa;if(_0x49cafe===_0x18a47d)break;else _0x7a2c36['push'](_0x7a2c36['shift']());}catch(_0x4448a3){_0x7a2c36['push'](_0x7a2c36['shift']());}}}(_0x7773,0x9c67e));import{Plugin as _0x1f0df3}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1e6fc9,scrollViewportToShowTarget as _0x234d15}from'ckeditor5/src/utils.js';import _0x4d91af from'./commentsrepository.js';import _0x1a464a from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x118074,getAllMarkersDomElementsSorted as _0x263684,FOCUS_ANNOTATION_KEYSTROKE as _0x2a83c1,Users as _0x470041}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x467774 from'../annotations/editorannotations.js';function _0x7773(){const _0x33d3ad=['commands','createRange','isCollapsed','newRange','config','_attachMarkerToThread','_reconvertMarkers','ck-comment-marker--active','LEAVE_COMMENT_ANNOUNCEMENT','state','markerName','low','ignoreResolvedComments','author','reconvertMarker','requires','unlinkedAt','setUnlinkedAt','getWalker','comments','registerAnnotation','end','hasContent','view','849565nwCZKS','isLocal','hasCommentThread','plugins','isEqual','hasDomSelection','split','schema','1304mTOyQA','comment','hasMarkerForId','_attachArchivedThread','56480avMvbD','focus','size','$graveyard','createElement','_handleThreadMarker','_getTextContext','data','comment:','start','change:activeMarker','_initAriaMarkerChangeAnnouncements','elementToElement','destroyed','enqueueChange','_threadToController','upcast','dataToMarker','once','isThreadsLoadingPaused','isResolved','consumable','reopenCommentThread','change:isThreadsLoadingPaused','length','editingDowncast','announce','conversion','createPositionBefore','removeMarker','push','destroy','getChangedMarkers','add','substring','addCommentThread','_hasTargetInContent','from','81JIWCdP','group','_getTargetForId','1375486hawDQg','getAttribute','_threads','managedUsingOperations','6830964KbESXY','get','then','collaboration.channelId','removeCommentThread','document','affectsData','first','getCommentThread','$marker','scrollToThreadMarker','render','$textProxy','locale','openNewCommentThread','378344OfxLdM','consume','markers','isObject','isAttached','addComment','resolveCommentThread','model','change','root','listenTo','4RuHJar','CommentsEditing','startsWith','context','getRange','ck-comment-marker','attachTo','delete','_detachCommentThread','setContext','removeMarker:','change:isReadOnly','registerPostFixer','_initializeMarkerConverters','addMarker:','differ','markerToData','refreshVisibility','name','rootName','pluginName','updateMarker','getAllMarkersForId','clear','22884860oakhSr','editor','for','getItems','activeMarker','ready','switchReadOnly','item','_handleMarkerAddAndRemove','init','ariaLiveAnnouncer','getCommentThreads','markerToHighlight','dataDowncast','fetchCommentThread','3gmWzhA','text','editing','getByInnerView','set','ENTER_COMMENT_ANNOUNCEMENT'];_0x7773=function(){return _0x33d3ad;};return _0x7773();}import _0x54545c from'./integrations/commentsrestrictededitingmode.js';import _0x59d6ac from'./integrations/importword.js';import _0x365bb8 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x330288 from'../annotations/annotations.js';import{getTranslation as _0x2c49dc}from'../utils/common-translations.js';export default class r extends _0x1f0df3{static get[_0x35b685(0x108)](){return[_0x4d91af,_0x467774,_0x470041,_0x54545c,_0x59d6ac,_0x365bb8];}static get[_0x35b685(0x178)](){const _0x306abd=_0x35b685;return _0x306abd(0x165);}constructor(_0x490bd2){const _0x2e522a=_0x35b685;super(_0x490bd2),this[_0x2e522a(0x18f)](_0x2e522a(0x130),!0x0),_0x490bd2[_0x2e522a(0x124)][_0x2e522a(0x12f)](_0x2e522a(0x181),()=>this[_0x2e522a(0x130)]=!0x1),this[_0x2e522a(0x18f)](_0x2e522a(0x180),null),this['on'](_0x2e522a(0x127),(_0x4e5431,_0x7c9e89,_0x521ffc,_0x595b9d)=>{const _0x2eb41d=_0x2e522a,_0x3c0514=_0x521ffc?splitMarkerName(_0x521ffc)['id']:null;if(_0x490bd2[_0x2eb41d(0x160)][_0x2eb41d(0x161)](()=>{const _0x426186=_0x2eb41d;if(_0x3c0514){const _0x53f346=this[_0x426186(0x17a)](_0x3c0514);for(const _0x4b8639 of _0x53f346)_0x490bd2[_0x426186(0x18d)][_0x426186(0x107)](_0x4b8639);}if(_0x595b9d){const {id:_0xac6276}=splitMarkerName(_0x595b9d),_0x49108c=this[_0x426186(0x17a)](_0xac6276);for(const _0x4d7164 of _0x49108c)_0x490bd2[_0x426186(0x18d)][_0x426186(0x107)](_0x4d7164);}}),_0x3c0514){const _0x5adf0c=_0x490bd2[_0x2eb41d(0x114)][_0x2eb41d(0x14b)](_0x4d91af)[_0x2eb41d(0x152)](_0x3c0514);_0x5adf0c&&_0x5adf0c[_0x2eb41d(0x131)]&&this[_0x2eb41d(0x154)](_0x3c0514);}}),this[_0x2e522a(0x128)]();}[_0x35b685(0x185)](){const _0x4ddda8=_0x35b685,_0x556cb8=this[_0x4ddda8(0x17d)],_0x543f0a=_0x556cb8[_0x4ddda8(0x114)][_0x4ddda8(0x14b)](_0x4d91af),_0x3d670c=_0x556cb8[_0x4ddda8(0x195)][_0x4ddda8(0x14b)](_0x4ddda8(0x14d));_0x556cb8[_0x4ddda8(0x191)][_0x4ddda8(0x13e)](_0x4ddda8(0x140),new _0x1a464a(_0x556cb8)),this[_0x4ddda8(0x163)](_0x556cb8,_0x4ddda8(0x16f),(_0x5424ac,_0xb10366,_0xfbc03b)=>{const _0x4d19f6=_0x4ddda8;_0x543f0a[_0x4d19f6(0x182)](_0xfbc03b,_0x556cb8[_0x4d19f6(0x195)][_0x4d19f6(0x14b)](_0x4d19f6(0x14d)));}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x140),_0x3d670c),(_0x4e335a,{threadId:_0xe1ec96})=>{const _0x1c38a4=_0x4ddda8,_0x4e5a87=this[_0x1c38a4(0x17d)][_0x1c38a4(0x114)][_0x1c38a4(0x14b)](_0x4d91af)[_0x1c38a4(0x152)](_0xe1ec96);_0x4e5a87&&_0x4e5a87[_0x1c38a4(0x109)]&&this[_0x1c38a4(0x11c)](_0xe1ec96);}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x14e),_0x3d670c),(_0x582823,{threadId:_0x560e30})=>{const _0x4f32ce=_0x4ddda8;_0x556cb8[_0x4f32ce(0x160)][_0x4f32ce(0x12b)]({'isUndoable':!0x1},_0x2bc3b8=>{const _0x57e97f=_0x4f32ce,_0x30906a=this[_0x57e97f(0x17a)](_0x560e30);for(const _0x33d596 of _0x30906a)_0x2bc3b8[_0x57e97f(0x13a)](_0x33d596);});}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x15f),_0x3d670c),(_0x333794,{threadId:_0x2c8e84})=>{const _0x595865=_0x4ddda8;(this[_0x595865(0x197)](_0x2c8e84),this[_0x595865(0x17d)][_0x595865(0x18d)][_0x595865(0x110)][_0x595865(0x116)])&&(this[_0x595865(0x17d)][_0x595865(0x114)][_0x595865(0x14b)](_0x4d91af)[_0x595865(0x152)](_0x2c8e84)[_0x595865(0x109)]||this[_0x595865(0x17d)][_0x595865(0x18d)][_0x595865(0x110)][_0x595865(0x11e)]());},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x133),_0x3d670c),(_0x5bccb9,{threadId:_0x5ae8dc})=>{const _0x373fe4=_0x4ddda8;this[_0x373fe4(0x197)](_0x5ae8dc);},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x163)](_0x543f0a,mt(_0x4ddda8(0x15e),_0x3d670c),(_0x3a737b,{threadId:_0x44bcfd,isFromAdapter:_0xfa6876})=>{const _0x34fea3=_0x4ddda8,_0x4e35ea=this[_0x34fea3(0x17a)](_0x44bcfd);if(_0xfa6876||0x0==_0x4e35ea[_0x34fea3(0x135)]||!_0x543f0a[_0x34fea3(0x113)](_0x44bcfd))return;0x1===_0x543f0a[_0x34fea3(0x152)](_0x44bcfd)[_0x34fea3(0x135)]&&_0x556cb8[_0x34fea3(0x160)][_0x34fea3(0x12b)]({'isUndoable':!0x1},_0x5ae0f7=>{const _0x574547=_0x34fea3;for(const _0x8e9ed5 of _0x4e35ea)_0x5ae0f7[_0x574547(0x179)](_0x8e9ed5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x4ddda8(0x104)}),this[_0x4ddda8(0x171)](),this[_0x4ddda8(0x184)]();}[_0x35b685(0x13c)](){const _0x4b4fc3=_0x35b685,_0x563330=this[_0x4b4fc3(0x17d)][_0x4b4fc3(0x114)][_0x4b4fc3(0x14b)](_0x4d91af),_0x1ae731=this[_0x4b4fc3(0x17d)][_0x4b4fc3(0x195)][_0x4b4fc3(0x14b)](_0x4b4fc3(0x14d));for(const _0x145a45 of _0x563330[_0x4b4fc3(0x187)]({'channelId':_0x1ae731}))_0x563330[_0x4b4fc3(0x16c)](_0x145a45['id']),_0x563330[_0x4b4fc3(0x148)][_0x4b4fc3(0x16b)](_0x145a45['id']);super[_0x4b4fc3(0x13c)]();}[_0x35b685(0x11b)](_0x57c276){const _0x1d1898=_0x35b685;return this[_0x1d1898(0x17a)](_0x57c276)[_0x1d1898(0x135)]>0x0;}[_0x35b685(0x17a)](_0x135c47){const _0x38bf80=_0x35b685,_0x57f8ca=[];for(const _0x21e559 of this[_0x38bf80(0x17d)][_0x38bf80(0x160)][_0x38bf80(0x15b)])_0x21e559[_0x38bf80(0x176)][_0x38bf80(0x166)](_0x38bf80(0x125)+_0x135c47)&&_0x57f8ca[_0x38bf80(0x13b)](_0x21e559);return _0x57f8ca;}[_0x35b685(0x154)](_0xefdd4e){const _0xa0e3d7=_0x35b685,_0x3a0cee=this[_0xa0e3d7(0x145)](_0xefdd4e);_0x3a0cee&&setTimeout(()=>{const _0x14d862=_0xa0e3d7;this[_0x14d862(0x180)]&&splitMarkerName(this[_0x14d862(0x180)])['id']===_0xefdd4e&&_0x234d15({'target':_0x3a0cee[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x35b685(0x197)](_0x5005a9){const _0x59b179=_0x35b685;this[_0x59b179(0x17d)][_0x59b179(0x160)][_0x59b179(0x161)](()=>{const _0x6bb87a=_0x59b179;for(const _0x4bb7c1 of this[_0x6bb87a(0x17a)](_0x5005a9))this[_0x6bb87a(0x17d)][_0x6bb87a(0x18d)][_0x6bb87a(0x107)](_0x4bb7c1);});}[_0x35b685(0x11c)](_0x4984d7){const _0x4f0aa3=_0x35b685,_0x58dac4=this[_0x4f0aa3(0x17d)][_0x4f0aa3(0x114)][_0x4f0aa3(0x14b)](_0x4d91af),_0x5e4d35=this[_0x4f0aa3(0x17d)][_0x4f0aa3(0x114)][_0x4f0aa3(0x14b)](_0x467774),_0x38d147=_0x58dac4[_0x4f0aa3(0x152)](_0x4984d7);if(!_0x38d147[_0x4f0aa3(0x15d)]){const _0x46972a=_0x38d147[_0x4f0aa3(0x16a)](()=>this[_0x4f0aa3(0x145)](_0x38d147['id']));_0x5e4d35[_0x4f0aa3(0x10d)](_0x46972a),_0x38d147[_0x4f0aa3(0x141)]=!0x1;}}[_0x35b685(0x171)](){const _0x72a123=_0x35b685,_0x46e6bf=this[_0x72a123(0x17d)],_0x4302d8=_0x46e6bf[_0x72a123(0x114)][_0x72a123(0x14b)](_0x470041);_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x136))[_0x72a123(0x188)]({'model':_0x72a123(0x11a),'view':(_0x416b3d,_0x116ed8)=>{const _0x4a6195=_0x72a123,{id:_0x5116e6}=splitMarkerName(_0x416b3d[_0x4a6195(0x103)]),_0x21863=_0x46e6bf[_0x4a6195(0x114)][_0x4a6195(0x14b)](_0x4d91af)[_0x4a6195(0x152)](_0x5116e6),_0x4a62b8=this[_0x4a6195(0x180)]&&splitMarkerName(this[_0x4a6195(0x180)])['id']===_0x5116e6;let _0x73fb1;if(_0x21863&&_0x21863[_0x4a6195(0x131)]&&!_0x4a62b8&&_0x416b3d[_0x4a6195(0x183)])return _0x116ed8[_0x4a6195(0x132)][_0x4a6195(0x15a)](_0x416b3d[_0x4a6195(0x183)],_0x4a6195(0x172)+_0x416b3d[_0x4a6195(0x103)]),_0x116ed8[_0x4a6195(0x132)][_0x4a6195(0x15a)](_0x416b3d[_0x4a6195(0x183)],_0x4a6195(0x16e)+_0x416b3d[_0x4a6195(0x103)]),null;const _0x561906=[_0x4a6195(0x169)];return _0x4a62b8&&_0x561906[_0x4a6195(0x13b)](_0x4a6195(0x198)),_0x73fb1=_0x21863&&_0x21863[_0x4a6195(0x135)]?_0x21863[_0x4a6195(0x10c)][_0x4a6195(0x151)][_0x4a6195(0x106)]['id']:_0x4302d8['me']['id'],{'classes':_0x561906,'attributes':{'data-comment':_0x5116e6,'data-author-id':_0x73fb1}};}}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x189))[_0x72a123(0x174)]({'model':_0x72a123(0x11a),'view':(_0x590075,{options:_0x3411c5})=>{const _0x33fb5f=_0x72a123,_0x4003db=_0x46e6bf[_0x33fb5f(0x114)][_0x33fb5f(0x14b)](_0x4d91af),_0x52957c=_0x46e6bf[_0x33fb5f(0x160)][_0x33fb5f(0x15b)][_0x33fb5f(0x14b)](_0x590075),{id:_0x505ecd,part:_0x521b15}=splitMarkerName(_0x590075);if(_0x52957c&&!_0x52957c[_0x33fb5f(0x150)])return null;if(_0x3411c5[_0x33fb5f(0x105)]){const _0x2bee47=_0x4003db[_0x33fb5f(0x152)](_0x505ecd);if(_0x2bee47&&_0x2bee47[_0x33fb5f(0x131)])return null;}return{'group':_0x33fb5f(0x11a),'name':_0x521b15?_0x505ecd+':'+_0x521b15:_0x505ecd};}}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x12d))[_0x72a123(0x129)]({'view':{'name':_0x72a123(0x11a),'attributes':{'id':/^\w/}},'model':(_0x25316b,{writer:_0x30ef6d})=>_0x30ef6d[_0x72a123(0x121)](_0x72a123(0x153),{'data-name':_0x72a123(0x125)+_0x25316b[_0x72a123(0x147)]('id')})}),_0x46e6bf[_0x72a123(0x138)][_0x72a123(0x17e)](_0x72a123(0x12d))[_0x72a123(0x12e)]({'view':_0x72a123(0x11a)});}[_0x35b685(0x184)](){const _0x59d5e3=_0x35b685,_0x5f3af4=this[_0x59d5e3(0x17d)],_0x18d2dd=_0x5f3af4[_0x59d5e3(0x114)][_0x59d5e3(0x14b)](_0x4d91af),_0x3c7546=new Set(),_0x5749ae=new Set();_0x5f3af4[_0x59d5e3(0x160)][_0x59d5e3(0x14f)][_0x59d5e3(0x170)](_0x53db00=>{const _0x11a0bf=_0x59d5e3;let _0x3247ba=!0x1;for(const {name:_0x4f0776,data:_0xd7de9d}of _0x5f3af4[_0x11a0bf(0x160)][_0x11a0bf(0x14f)][_0x11a0bf(0x173)][_0x11a0bf(0x13d)]()){const {group:_0x4dfff9,id:_0x1a9695}=splitMarkerName(_0x4f0776);let _0x262970=_0xd7de9d[_0x11a0bf(0x194)];if(_0x11a0bf(0x11a)!==_0x4dfff9||!_0x262970)continue;const _0x26f0a7=_0x11a0bf(0x120)===_0x262970[_0x11a0bf(0x162)][_0x11a0bf(0x177)];_0x26f0a7||(_0x262970=dt(_0x262970,_0x5f3af4[_0x11a0bf(0x160)]),!_0x262970||_0x262970[_0x11a0bf(0x193)]||!_0xd7de9d[_0x11a0bf(0x194)]||_0x262970[_0x11a0bf(0x115)](_0xd7de9d[_0x11a0bf(0x194)]))?_0x5f3af4[_0x11a0bf(0x160)][_0x11a0bf(0x10f)](_0x262970)&&!_0x26f0a7?this[_0x11a0bf(0x130)]?_0x3c7546[_0x11a0bf(0x13e)](_0x4f0776):this[_0x11a0bf(0x122)](_0x4f0776,_0x1a9695):(_0x5749ae[_0x11a0bf(0x13e)](_0x4f0776),_0x3c7546[_0x11a0bf(0x16b)](_0x4f0776),_0x53db00[_0x11a0bf(0x13a)](_0x4f0776),_0x3247ba=!0x0):(_0x53db00[_0x11a0bf(0x179)](_0x4f0776,{'range':_0x262970}),_0x3247ba=!0x0);}return _0x3247ba;}),this['on'](_0x59d5e3(0x134),(_0xe7324a,_0x411796,_0x1bff9d)=>{const _0x25c01e=_0x59d5e3;if(!_0x1bff9d&&_0x3c7546[_0x25c01e(0x11f)])for(const _0x2ca8d1 of _0x3c7546){const {id:_0x12e192}=splitMarkerName(_0x2ca8d1);_0x3c7546[_0x25c01e(0x16b)](_0x2ca8d1),_0x5f3af4[_0x25c01e(0x160)][_0x25c01e(0x15b)][_0x25c01e(0x14b)](_0x2ca8d1)&&this[_0x25c01e(0x122)](_0x2ca8d1,_0x12e192);}}),this[_0x59d5e3(0x163)](_0x5f3af4[_0x59d5e3(0x160)][_0x59d5e3(0x14f)],_0x59d5e3(0x161),(_0x38027a,_0x2725a8)=>{const _0xd40ab4=_0x59d5e3;for(const {name:_0x5ba486,data:{newRange:_0x5e8111}}of _0x5f3af4[_0xd40ab4(0x160)][_0xd40ab4(0x14f)][_0xd40ab4(0x173)][_0xd40ab4(0x13d)]()){const {group:_0x135668,id:_0x35a362}=splitMarkerName(_0x5ba486);if(_0xd40ab4(0x11a)!==_0x135668)continue;const _0x5d20e2=_0x18d2dd[_0xd40ab4(0x152)](_0x35a362),_0x211346=this[_0xd40ab4(0x11b)](_0x35a362);_0x5d20e2&&(!_0x5d20e2[_0xd40ab4(0x141)]&&_0x5e8111&&_0x5f3af4[_0xd40ab4(0x18d)][_0xd40ab4(0x110)][_0xd40ab4(0x12f)](_0xd40ab4(0x155),()=>{const _0x5ab574=_0xd40ab4,_0x33fa05=_0x5f3af4[_0x5ab574(0x114)][_0x5ab574(0x14b)](_0x330288),_0x66a672=_0x18d2dd[_0x5ab574(0x12c)][_0x5ab574(0x14b)](_0x5d20e2)[_0x5ab574(0x110)];_0x33fa05[_0x5ab574(0x18e)](_0x66a672)[_0x5ab574(0x175)]();},{'priority':_0xd40ab4(0x104)}),_0x5d20e2[_0xd40ab4(0x141)]=_0x211346||!!_0x5e8111),_0x5e8111||(_0x5749ae[_0xd40ab4(0x13e)](_0x5ba486),_0x3c7546[_0xd40ab4(0x16b)](_0x5ba486));}if(_0x2725a8[_0xd40ab4(0x112)])for(const _0x5383f0 of _0x5749ae){const {id:_0x15da8e}=splitMarkerName(_0x5383f0),_0x21d0e0=_0x18d2dd[_0xd40ab4(0x152)](_0x15da8e),_0x1e852c=this[_0xd40ab4(0x11b)](_0x15da8e);_0x3c7546[_0xd40ab4(0x16b)](_0x5383f0),!_0x21d0e0||_0x1e852c||_0x21d0e0[_0xd40ab4(0x109)]||_0x21d0e0[_0xd40ab4(0x10a)](new Date());}_0x5749ae[_0xd40ab4(0x17b)]();});}[_0x35b685(0x145)](_0x284bc6){const _0x573af8=_0x35b685,_0x176333=this[_0x573af8(0x17d)],_0x1a4920=this[_0x573af8(0x17a)](_0x284bc6);return _0x263684(_0x176333[_0x573af8(0x18d)],_0x1a4920);}[_0x35b685(0x123)](_0x2f3c0a){const _0x2f9f25=_0x35b685,_0x397a44=this[_0x2f9f25(0x17a)](_0x2f3c0a);let _0x5be359='',_0x757266=!0x1;for(const _0x46864d of _0x397a44){const _0x22101b=_0x46864d[_0x2f9f25(0x168)]();for(const _0x2c22a6 of Array[_0x2f9f25(0x142)](_0x22101b[_0x2f9f25(0x17f)]()))_0x2c22a6['is'](_0x2f9f25(0x156))?(_0x5be359&&_0x757266&&(_0x5be359+='\x20',_0x757266=!0x1),_0x5be359+=_0x2c22a6[_0x2f9f25(0x124)]):_0x757266=!0x0;_0x757266=!0x0;}return _0x5be359[_0x2f9f25(0x13f)](0x0,0x96);}[_0x35b685(0x196)](_0x280f61,_0x5f0ab9){const _0x2933f5=_0x35b685,_0x3520dd=this[_0x2933f5(0x17d)],_0x25b51a=_0x3520dd[_0x2933f5(0x114)][_0x2933f5(0x14b)](_0x4d91af);let _0x4b4409=_0x25b51a[_0x2933f5(0x152)](_0x5f0ab9);const _0x2e6047=_0x3520dd[_0x2933f5(0x195)][_0x2933f5(0x14b)](_0x2933f5(0x14d)),_0x333a6e=_0x3520dd[_0x2933f5(0x114)][_0x2933f5(0x14b)](_0x467774);if(_0x4b4409&&(_0x4b4409[_0x2933f5(0x109)]&&_0x4b4409[_0x2933f5(0x10a)](null),_0x4b4409[_0x2933f5(0x15d)]))return _0x4b4409;return!this[_0x2933f5(0x17a)](_0x5f0ab9)[0x0][_0x2933f5(0x149)]?_0x3520dd[_0x2933f5(0x18d)][_0x2933f5(0x110)][_0x2933f5(0x12f)](_0x2933f5(0x155),()=>{const _0x3fae5b=_0x2933f5;if(_0x25b51a[_0x3fae5b(0x152)](_0x5f0ab9))return;const _0x23fb43=_0x3520dd[_0x3fae5b(0x114)][_0x3fae5b(0x14b)](_0x330288);_0x4b4409=_0x25b51a[_0x3fae5b(0x158)]({'channelId':_0x2e6047,'threadId':_0x5f0ab9,'target':()=>this[_0x3fae5b(0x145)](_0x5f0ab9),'context':{'type':_0x3fae5b(0x18c),'value':this[_0x3fae5b(0x123)](_0x5f0ab9)}});const _0x529301=_0x25b51a[_0x3fae5b(0x12c)][_0x3fae5b(0x14b)](_0x4b4409)[_0x3fae5b(0x110)],_0x71591=_0x23fb43[_0x3fae5b(0x18e)](_0x529301);_0x71591&&_0x333a6e[_0x3fae5b(0x10d)](_0x71591);},{'priority':_0x2933f5(0x104)}):_0x25b51a[_0x2933f5(0x18a)]({'channelId':_0x2e6047,'threadId':_0x5f0ab9})[_0x2933f5(0x14c)](_0xdcdda=>{const _0x455886=_0x2933f5;if(_0x455886(0x12a)!==_0x3520dd[_0x455886(0x102)]){if(_0x4b4409=_0xdcdda,_0x4b4409&&!_0x4b4409[_0x455886(0x15d)]){const _0x317652=_0x4b4409[_0x455886(0x16a)](()=>this[_0x455886(0x145)](_0x5f0ab9));_0x333a6e[_0x455886(0x10d)](_0x317652),_0x4b4409[_0x455886(0x131)]&&this[_0x455886(0x197)](_0x5f0ab9);}else{if(!_0x4b4409){const _0x4f14a3=this[_0x455886(0x17a)](_0x5f0ab9);_0x3520dd[_0x455886(0x160)][_0x455886(0x161)](_0x4bda09=>{const _0x543f56=_0x455886;for(const _0x35f406 of _0x4f14a3)_0x4bda09[_0x543f56(0x13a)](_0x35f406);});}}}}),_0x4b4409;}[_0x35b685(0x122)](_0x30b873,_0x1f3b90){const _0xc9da84=_0x35b685,_0x175d22=this[_0xc9da84(0x196)](_0x30b873,_0x1f3b90);_0x175d22&&!_0x175d22[_0xc9da84(0x167)]&&_0x175d22[_0xc9da84(0x16d)]({'type':_0xc9da84(0x18c),'value':this[_0xc9da84(0x123)](_0x1f3b90)});}[_0x35b685(0x128)](){const _0x21b749=_0x35b685,_0x5d81ce=this[_0x21b749(0x17d)];_0x118074(_0x5d81ce[_0x21b749(0x160)],({left:_0x490a9e,entered:_0x56934f})=>{const _0x5069ba=_0x21b749;for(const _0x385020 of _0x490a9e)if(ht(_0x385020)){_0x5d81ce['ui'][_0x5069ba(0x186)][_0x5069ba(0x137)](_0x2c49dc(_0x5d81ce[_0x5069ba(0x157)],_0x5069ba(0x101)));break;}for(const _0x3cad73 of _0x56934f)if(ht(_0x3cad73)){_0x5d81ce['ui'][_0x5069ba(0x186)][_0x5069ba(0x137)](_0x2c49dc(_0x5d81ce[_0x5069ba(0x157)],_0x5069ba(0x190),_0x1e6fc9(_0x2a83c1)));break;}});}}function mt(_0xa6c365,_0xc8d63){return _0xc8d63?_0xa6c365+':'+_0xc8d63:_0xa6c365;}export function splitMarkerName(_0xccb507){const _0x48197d=_0x35b685,_0x1a61bb=_0xccb507[_0x48197d(0x117)](':');return{'group':_0x1a61bb[0x0],'id':_0x1a61bb[0x1],'part':_0x1a61bb[0x2]};}function dt(_0x11147e,_0x2479c0){const _0x5a8924=_0x35b685,_0x2cf69d=_0x2479c0[_0x5a8924(0x118)],_0x230622=_0x2479c0[_0x5a8924(0x192)](_0x11147e[_0x5a8924(0x126)]);for(const _0x3d55b0 of _0x11147e[_0x5a8924(0x10b)]()){const {type:_0x2ca7cc,item:_0x181d2b,nextPosition:_0x3d090a}=_0x3d55b0;if(_0x5a8924(0x18c)===_0x2ca7cc||_0x2cf69d[_0x5a8924(0x15c)](_0x181d2b)){const _0x57c206=_0x2479c0[_0x5a8924(0x139)](_0x181d2b);_0x230622[_0x5a8924(0x193)]&&(_0x230622[_0x5a8924(0x126)]=_0x57c206),_0x230622[_0x5a8924(0x10e)]=_0x3d090a;}}return _0x230622;}function ht(_0x3f65eb){const _0x47476a=_0x35b685;return _0x47476a(0x11a)===splitMarkerName(_0x3f65eb[_0x47476a(0x176)])[_0x47476a(0x144)];}
|