@ckeditor/ckeditor5-comments 43.3.0-alpha.1 → 43.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20f215=_0x331c;(function(_0x3cdde1,_0x19bc4c){const _0x31b6ba=_0x331c,_0xfca315=_0x3cdde1();while(!![]){try{const _0x1c92c5=-parseInt(_0x31b6ba(0xed))/0x1+parseInt(_0x31b6ba(0xdb))/0x2*(parseInt(_0x31b6ba(0xa0))/0x3)+-parseInt(_0x31b6ba(0xe5))/0x4+-parseInt(_0x31b6ba(0xad))/0x5*(parseInt(_0x31b6ba(0xce))/0x6)+parseInt(_0x31b6ba(0xab))/0x7+-parseInt(_0x31b6ba(0xaa))/0x8*(-parseInt(_0x31b6ba(0xdc))/0x9)+-parseInt(_0x31b6ba(0xa1))/0xa*(-parseInt(_0x31b6ba(0x9e))/0xb);if(_0x1c92c5===_0x19bc4c)break;else _0xfca315['push'](_0xfca315['shift']());}catch(_0x122b61){_0xfca315['push'](_0xfca315['shift']());}}}(_0x5175,0x6c6a8));import{ContextPlugin as _0x440606}from'ckeditor5/src/core.js';import{Rect as _0xe8cad4,CKEditorError as _0x248053}from'ckeditor5/src/utils.js';import _0x3f6924 from'./view/sidebarview.js';function _0x5175(){const _0xb45662=['height','container','_getMaxAvailableTop','rearrange','33QEnMPi','listenTo','51LHGBGe','282790mtrPkq','sidebar-attachtocontainer-missing-container','_recalculate','_recalculateBuffer','appendChild','updateHeight','isActive','_annotationToSidebarItemView','config','1220744OiDrPo','1273594MjbZEn','render','103335pnXKAa','change:bottom','unbind','change:top','class','change:_lastItem','top','isOfficialPlugin','target','minHeight','list','last','push','_attachToContainer','_annotations','context','_detachFromContainer','sidebar.preventScrollOutOfView','bind','_alignForBottomChange','addAnnotation','_getItemAfter','_spaceBetweenItems','change:targetRect','get','_targetTop','stopListening','_updateLastItem','length','destroy','set','_createSidebarView','locale','6OmPXnP','delete','refresh','_destroySidebarItemView','_setItemTop','clear','add','setContainer','nodeType','isPremiumPlugin','view','_alignAfterItem','Sidebar','87494GqCvrr','9PDsrbG','getSidebarItemView','targetRect','sidebar-setcontainer-invalid-element','element','bottom','_getTargetTop','isAnimationDisabled','define','1527740VxxoTO','object','pluginName','max','sidebar.container','_alignToTargetRect','_alignBeforeItem','remove','316397zWIZDS','_getItemBefore','_lastItem','getIndex','content','_sidebarItemViewToAnnotation','_activeAnnotation','_alignForTopChange','init'];_0x5175=function(){return _0xb45662;};return _0x5175();}import _0x3e2cb7 from'./view/sidebaritemview.js';function _0x331c(_0x599c76,_0x19be36){const _0x5175c7=_0x5175();return _0x331c=function(_0x331c83,_0x241d59){_0x331c83=_0x331c83-0x93;let _0x368a27=_0x5175c7[_0x331c83];return _0x368a27;},_0x331c(_0x599c76,_0x19be36);}export default class z extends _0x440606{static get[_0x20f215(0xe7)](){const _0x59e0ee=_0x20f215;return _0x59e0ee(0xda);}static get[_0x20f215(0xb4)](){return!0x0;}static get[_0x20f215(0xd7)](){return!0x0;}constructor(_0x26f49a){const _0x254784=_0x20f215;super(_0x26f49a),this[_0x254784(0xcb)](_0x254784(0x93),void 0x0),this[_0x254784(0xd8)]=this[_0x254784(0xcc)](),this[_0x254784(0xcb)](_0x254784(0x9b),null),this[_0x254784(0xc3)]=0x19,this[_0x254784(0x96)]=new Map(),this[_0x254784(0xa8)]=new Map(),this[_0x254784(0xbc)][_0x254784(0xa9)][_0x254784(0xe4)](_0x254784(0xbe),!0x1),this[_0x254784(0xbb)]=null,this[_0x254784(0x97)]=null,this[_0x254784(0xa4)]=[];}[_0x20f215(0x99)](){const _0x33ed45=_0x20f215,_0x43823a=this[_0x33ed45(0xbc)][_0x33ed45(0xa9)][_0x33ed45(0xc5)](_0x33ed45(0xe9));_0x43823a&&this[_0x33ed45(0xd5)](_0x43823a);}[_0x20f215(0xd5)](_0x41b741){const _0x21a40b=_0x20f215;if(!y(_0x41b741))throw new _0x248053(_0x21a40b(0xdf));this[_0x21a40b(0x9b)]=_0x41b741;}[_0x20f215(0xba)]({viewClass:_0x2c3071='',spaceBetweenItems:_0xf0586b=0x19}={}){const _0x1a6036=_0x20f215;if(!y(this[_0x1a6036(0x9b)]))throw new _0x248053(_0x1a6036(0xa2),this);this[_0x1a6036(0x9b)][_0x1a6036(0xa5)](this[_0x1a6036(0xd8)][_0x1a6036(0xe0)]),this[_0x1a6036(0xd8)][_0x1a6036(0xb1)]=_0x2c3071,this[_0x1a6036(0xc3)]=_0xf0586b;}[_0x20f215(0x9d)]({removedAnnotation:_0x3b2efe,previousAnnotation:_0x54654b,nextAnnotation:_0x349e59}){const _0x50f490=_0x20f215,_0x14a580=this[_0x50f490(0xdd)](_0x3b2efe);this[_0x50f490(0xd8)][_0x50f490(0xb7)][_0x50f490(0xec)](_0x14a580),this[_0x50f490(0xd1)](_0x3b2efe),_0x54654b&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x54654b)),_0x349e59&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x349e59)),this[_0x50f490(0xc8)]();}[_0x20f215(0xd0)]({blurredAnnotation:_0x561df9,activatedAnnotation:_0x816bac,disableAnimationOnActivatedAnnotation:_0x450888}){const _0x2fb6a1=_0x20f215;if(this[_0x2fb6a1(0x97)]=_0x816bac,_0x561df9){_0x561df9[_0x2fb6a1(0xa7)]=!0x1;const _0x14b802=this[_0x2fb6a1(0xdd)](_0x561df9);_0x14b802&&_0x450888&&(_0x14b802[_0x2fb6a1(0xe3)]=!0x1);}if(_0x816bac){const _0x59d2c0=this[_0x2fb6a1(0xdd)](_0x816bac);_0x59d2c0&&(_0x816bac[_0x2fb6a1(0xa7)]=!0x0,_0x450888&&(_0x59d2c0[_0x2fb6a1(0xe3)]=!0x0,_0x59d2c0[_0x2fb6a1(0xb3)]+=0x1),this[_0x2fb6a1(0xea)](_0x59d2c0));}}[_0x20f215(0xbd)](_0x4ee8d1){const _0x32c9f0=_0x20f215;if(this[_0x32c9f0(0xd8)][_0x32c9f0(0xe0)][_0x32c9f0(0xec)](),_0x4ee8d1){for(const _0x1d2e35 of _0x4ee8d1)this[_0x32c9f0(0xd1)](_0x1d2e35);}this[_0x32c9f0(0xd8)][_0x32c9f0(0xb7)][_0x32c9f0(0xd3)](),this[_0x32c9f0(0xd8)][_0x32c9f0(0xb1)]='',this[_0x32c9f0(0x93)]=null;}[_0x20f215(0xc1)](_0x2503e8,_0x2e48d5){const _0x5d4833=_0x20f215;_0x2e48d5||(_0x2e48d5=_0x2503e8[_0x5d4833(0xd8)]);const _0x24080b=new _0x3e2cb7(this[_0x5d4833(0xbc)][_0x5d4833(0xcd)]);this[_0x5d4833(0x96)][_0x5d4833(0xcb)](_0x24080b,_0x2503e8),this[_0x5d4833(0xa8)][_0x5d4833(0xcb)](_0x2503e8,_0x24080b),_0x24080b[_0x5d4833(0x95)][_0x5d4833(0xd4)](_0x2e48d5),this[_0x5d4833(0x9f)](_0x2503e8[_0x5d4833(0xd8)],_0x5d4833(0xc4),(_0x3a7611,_0x2d13ef,_0x3fe490)=>{const _0x263636=_0x5d4833,_0x47a6c3=this[_0x263636(0xe2)](_0x2503e8,_0x3fe490);_0x24080b[_0x263636(0xc6)]!=_0x47a6c3&&(_0x24080b[_0x263636(0xc6)]=_0x47a6c3,this[_0x263636(0xd2)](_0x24080b,_0x47a6c3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xb0),()=>{const _0x39e270=_0x5d4833;this[_0x39e270(0xa3)](_0x24080b,_0x39e270(0xb3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xae),()=>{const _0x47a7ae=_0x5d4833;this[_0x47a7ae(0xa3)](_0x24080b,_0x47a7ae(0xe1));}),this[_0x5d4833(0xea)](_0x24080b);const _0x1c8e5b=this[_0x5d4833(0xee)](_0x24080b);if(_0x1c8e5b)this[_0x5d4833(0xd9)](_0x1c8e5b,_0x24080b)||this[_0x5d4833(0xea)](_0x24080b);else this[_0x5d4833(0xea)](_0x24080b);return this[_0x5d4833(0xc8)](),this[_0x5d4833(0xd8)][_0x5d4833(0xb7)][_0x5d4833(0xd4)](_0x24080b),_0x24080b;}[_0x20f215(0x98)](_0x4c3935){const _0x5688af=_0x20f215;if(!_0x4c3935[_0x5688af(0x95)][_0x5688af(0xc9)])return;const _0x6a504c=this[_0x5688af(0xee)](_0x4c3935);if(!_0x6a504c)return;const _0x3ba0fb=this[_0x5688af(0x96)][_0x5688af(0xc5)](_0x6a504c),_0x186c9c=this[_0x5688af(0x97)];_0x186c9c&&_0x186c9c===_0x3ba0fb?this[_0x5688af(0xd9)](_0x6a504c,_0x4c3935):this[_0x5688af(0xeb)](_0x4c3935,_0x6a504c);}[_0x20f215(0xc0)](_0x350fe9){const _0x1beb9f=_0x20f215;if(!_0x350fe9[_0x1beb9f(0x95)][_0x1beb9f(0xc9)])return;const _0x30e8c5=this[_0x1beb9f(0xc2)](_0x350fe9);if(!_0x30e8c5)return;const _0x544b43=this[_0x1beb9f(0x96)][_0x1beb9f(0xc5)](_0x30e8c5),_0x5e6cbe=this[_0x1beb9f(0xbc)][_0x1beb9f(0xa9)][_0x1beb9f(0xc5)](_0x1beb9f(0xbe)),_0x4a9297=this[_0x1beb9f(0x97)];_0x4a9297&&_0x4a9297===_0x544b43&&_0x5e6cbe?(this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9),this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5)):_0x4a9297&&_0x4a9297===_0x544b43?this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9):this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5);}[_0x20f215(0xa3)](_0x29bb9a,_0x2f5002){const _0x32771c=_0x20f215;0x0===this[_0x32771c(0xa4)][_0x32771c(0xc9)]&&setTimeout(()=>{const _0x19fe3d=_0x32771c;for(const {sidebarItemView:_0x278b25,changedProp:_0x496397}of this[_0x19fe3d(0xa4)])_0x19fe3d(0xb3)===_0x496397?this[_0x19fe3d(0x98)](_0x278b25):this[_0x19fe3d(0xc0)](_0x278b25);this[_0x19fe3d(0xa4)]=[];},0xa),this[_0x32771c(0xa4)][_0x32771c(0xb9)]({'sidebarItemView':_0x29bb9a,'changedProp':_0x2f5002});}[_0x20f215(0xdd)](_0x3140dc){const _0x2f885c=_0x20f215;return this[_0x2f885c(0xa8)][_0x2f885c(0xc5)](_0x3140dc);}[_0x20f215(0xca)](){const _0xf44a68=_0x20f215;this[_0xf44a68(0xc7)](),this[_0xf44a68(0xd8)][_0xf44a68(0xca)]();}[_0x20f215(0xd1)](_0xfe51d4){const _0xd243df=_0x20f215,_0x442789=this[_0xd243df(0xdd)](_0xfe51d4);this[_0xd243df(0xc7)](_0x442789),this[_0xd243df(0xc7)](_0xfe51d4[_0xd243df(0xd8)]),_0x442789[_0xd243df(0xca)](),this[_0xd243df(0xa8)][_0xd243df(0xcf)](_0xfe51d4),this[_0xd243df(0x96)][_0xd243df(0xcf)](_0x442789);}[_0x20f215(0xcc)](){const _0x229033=_0x20f215,_0x3a23de=new _0x3f6924(this[_0x229033(0xbc)][_0x229033(0xcd)]);return _0x3a23de[_0x229033(0xac)](),this['on'](_0x229033(0xb2),(_0x3d8a9f,_0x30631c,_0x1929ae,_0x54609f)=>{const _0x19899c=_0x229033;_0x54609f&&_0x3a23de[_0x19899c(0xaf)](_0x19899c(0xb6)),_0x1929ae?_0x3a23de[_0x19899c(0xbf)](_0x19899c(0xb6))['to'](_0x1929ae,_0x19899c(0xe1)):_0x3a23de[_0x19899c(0xb6)]=null;}),_0x3a23de;}[_0x20f215(0xc8)](){const _0x5322d6=_0x20f215;var _0xfc1edb;this[_0x5322d6(0x93)]=(null===(_0xfc1edb=this[_0x5322d6(0xbb)])||void 0x0===_0xfc1edb?void 0x0:_0xfc1edb[_0x5322d6(0xb8)])?this[_0x5322d6(0xdd)](this[_0x5322d6(0xbb)][_0x5322d6(0xb8)]):null;}[_0x20f215(0xee)](_0x1e3e08){const _0x22ec63=_0x20f215;var _0x3398a3;const _0x4db0e5=this[_0x22ec63(0x96)][_0x22ec63(0xc5)](_0x1e3e08),_0x44bb88=_0x4db0e5&&(null===(_0x3398a3=this[_0x22ec63(0xbb)])||void 0x0===_0x3398a3?void 0x0:_0x3398a3[_0x22ec63(0xc5)](this[_0x22ec63(0xbb)][_0x22ec63(0x94)](_0x4db0e5)-0x1));return _0x44bb88&&this[_0x22ec63(0xdd)](_0x44bb88)||null;}[_0x20f215(0xc2)](_0x5b89f4){const _0xe4e8b7=_0x20f215;var _0x3f3a57;const _0x43d0af=this[_0xe4e8b7(0x96)][_0xe4e8b7(0xc5)](_0x5b89f4),_0x5d03ef=_0x43d0af&&(null===(_0x3f3a57=this[_0xe4e8b7(0xbb)])||void 0x0===_0x3f3a57?void 0x0:_0x3f3a57[_0xe4e8b7(0xc5)](this[_0xe4e8b7(0xbb)][_0xe4e8b7(0x94)](_0x43d0af)+0x1));return _0x5d03ef&&this[_0xe4e8b7(0xdd)](_0x5d03ef)||null;}[_0x20f215(0xeb)](_0x2797da,_0x23cf49){const _0x1bb2db=_0x20f215;_0x2797da[_0x1bb2db(0xa6)]();const _0x1f5c35=R(_0x23cf49[_0x1bb2db(0xe1)]+this[_0x1bb2db(0xc3)],_0x2797da[_0x1bb2db(0xb3)]);return!!_0x1f5c35&&(this[_0x1bb2db(0xd2)](_0x23cf49,_0x23cf49[_0x1bb2db(0xb3)]-_0x1f5c35),!0x0);}[_0x20f215(0xd9)](_0x55d85e,_0x38c22c){const _0x107ce9=_0x20f215;_0x55d85e[_0x107ce9(0xa6)]();const _0x1c5731=R(_0x55d85e[_0x107ce9(0xe1)]+this[_0x107ce9(0xc3)],_0x38c22c[_0x107ce9(0xb3)]);return!!_0x1c5731&&(this[_0x107ce9(0xd2)](_0x38c22c,_0x38c22c[_0x107ce9(0xb3)]+_0x1c5731,!0x1),!0x0);}[_0x20f215(0xea)](_0x591ba8){const _0x36f61a=_0x20f215,_0x7fb73f=this[_0x36f61a(0x96)][_0x36f61a(0xc5)](_0x591ba8);if(!_0x7fb73f||!_0x7fb73f[_0x36f61a(0xb5)]||!_0x7fb73f[_0x36f61a(0xde)])return;const _0x35e7db=this[_0x36f61a(0xe2)](_0x7fb73f,_0x7fb73f[_0x36f61a(0xde)]);this[_0x36f61a(0xd2)](_0x591ba8,_0x35e7db);}[_0x20f215(0xe2)](_0x5e620e,_0x3dd730){const _0x277be3=_0x20f215;if(null===_0x3dd730)return 0x0;if(_0x5e620e[_0x277be3(0xb5)]instanceof _0xe8cad4)return _0x3dd730[_0x277be3(0xb3)];{const _0x4aae97=new _0xe8cad4(this[_0x277be3(0xd8)][_0x277be3(0xe0)])[_0x277be3(0xb3)];return _0x3dd730[_0x277be3(0xb3)]-_0x4aae97;}}[_0x20f215(0xd2)](_0x3b80ac,_0x11f81b,_0x2aa183=this[_0x20f215(0xbc)][_0x20f215(0xa9)][_0x20f215(0xc5)](_0x20f215(0xbe))){const _0x4181f8=_0x20f215;_0x2aa183&&(_0x11f81b=Math[_0x4181f8(0xe8)](_0x11f81b,this[_0x4181f8(0x9c)](_0x3b80ac))),_0x3b80ac[_0x4181f8(0xb3)]=_0x11f81b;}[_0x20f215(0x9c)](_0x569651){const _0x3edb4d=_0x20f215;let _0x23c610=this[_0x3edb4d(0xee)](_0x569651),_0x42a0f2=0x0;for(;_0x23c610;)_0x23c610[_0x3edb4d(0xa6)](),_0x42a0f2+=this[_0x3edb4d(0xc3)]+_0x23c610[_0x3edb4d(0x9a)],_0x23c610=this[_0x3edb4d(0xee)](_0x23c610);return _0x42a0f2;}}function R(_0x899c38,_0x5282e6){const _0x3ce672=_0x20f215;return Math[_0x3ce672(0xe8)](_0x899c38-_0x5282e6,0x0);}function y(_0x44d370){const _0x517581=_0x20f215;return null!==_0x44d370&&_0x517581(0xe6)==typeof _0x44d370&&0x1===_0x44d370[_0x517581(0xd6)];}
|
|
23
|
+
function _0x3b3d(_0x51208b,_0x4cf071){const _0xd12ca4=_0xd12c();return _0x3b3d=function(_0x3b3de5,_0x3ba5e4){_0x3b3de5=_0x3b3de5-0x147;let _0x7ff19=_0xd12ca4[_0x3b3de5];return _0x7ff19;},_0x3b3d(_0x51208b,_0x4cf071);}const _0x15fb3f=_0x3b3d;(function(_0x4933ff,_0x2962cc){const _0xd0616e=_0x3b3d,_0x2e0803=_0x4933ff();while(!![]){try{const _0x548704=parseInt(_0xd0616e(0x19a))/0x1*(-parseInt(_0xd0616e(0x174))/0x2)+-parseInt(_0xd0616e(0x179))/0x3*(parseInt(_0xd0616e(0x184))/0x4)+-parseInt(_0xd0616e(0x193))/0x5+-parseInt(_0xd0616e(0x192))/0x6*(-parseInt(_0xd0616e(0x176))/0x7)+parseInt(_0xd0616e(0x156))/0x8+parseInt(_0xd0616e(0x172))/0x9*(parseInt(_0xd0616e(0x187))/0xa)+parseInt(_0xd0616e(0x17c))/0xb*(parseInt(_0xd0616e(0x148))/0xc);if(_0x548704===_0x2962cc)break;else _0x2e0803['push'](_0x2e0803['shift']());}catch(_0x4d3e16){_0x2e0803['push'](_0x2e0803['shift']());}}}(_0xd12c,0x7d805));function _0xd12c(){const _0x4cb93f=['change:top','bind','pluginName','class','201702QHrIEw','_alignForBottomChange','_destroySidebarItemView','targetRect','setContainer','view','set','_getItemBefore','change:targetRect','locale','_getItemAfter','96KZErck','_sidebarItemViewToAnnotation','Sidebar','rearrange','sidebar-setcontainer-invalid-element','init','list','_alignToTargetRect','change:_lastItem','unbind','_activeAnnotation','getIndex','_targetTop','_spaceBetweenItems','6602464BjfcbJ','refresh','_attachToContainer','isPremiumPlugin','top','_annotationToSidebarItemView','nodeType','_detachFromContainer','push','add','sidebar.preventScrollOutOfView','last','_recalculate','updateHeight','addAnnotation','_createSidebarView','getSidebarItemView','max','element','listenTo','content','_getMaxAvailableTop','object','stopListening','height','container','delete','length','59274ysOdQs','destroy','10ZogfAn','sidebar-attachtocontainer-missing-container','7lnlumu','render','remove','3WCViPi','clear','isActive','325655VNAmIB','target','_annotations','appendChild','context','define','_recalculateBuffer','minHeight','1549604jCKuTe','bottom','sidebar.container','60pjavxw','config','_alignForTopChange','change:bottom','isAnimationDisabled','_updateLastItem','_alignAfterItem','_alignBeforeItem','_lastItem','get','_getTargetTop','5684694lNXhYl','695745fHcnHi','_setItemTop','isOfficialPlugin'];_0xd12c=function(){return _0x4cb93f;};return _0xd12c();}import{ContextPlugin as _0x3e49ef}from'ckeditor5/src/core.js';import{Rect as _0x2f4eef,CKEditorError as _0x318064}from'ckeditor5/src/utils.js';import _0x2fc7ec from'./view/sidebarview.js';import _0x11e0ed from'./view/sidebaritemview.js';export default class z extends _0x3e49ef{static get[_0x15fb3f(0x198)](){const _0x5a9a32=_0x15fb3f;return _0x5a9a32(0x14a);}static get[_0x15fb3f(0x195)](){return!0x0;}static get[_0x15fb3f(0x159)](){return!0x0;}constructor(_0x573b41){const _0x298aa3=_0x15fb3f;super(_0x573b41),this[_0x298aa3(0x1a0)](_0x298aa3(0x18f),void 0x0),this[_0x298aa3(0x19f)]=this[_0x298aa3(0x165)](),this[_0x298aa3(0x1a0)](_0x298aa3(0x16f),null),this[_0x298aa3(0x155)]=0x19,this[_0x298aa3(0x149)]=new Map(),this[_0x298aa3(0x15b)]=new Map(),this[_0x298aa3(0x180)][_0x298aa3(0x188)][_0x298aa3(0x181)](_0x298aa3(0x160),!0x1),this[_0x298aa3(0x17e)]=null,this[_0x298aa3(0x152)]=null,this[_0x298aa3(0x182)]=[];}[_0x15fb3f(0x14d)](){const _0x1666f7=_0x15fb3f,_0x2f2ba9=this[_0x1666f7(0x180)][_0x1666f7(0x188)][_0x1666f7(0x190)](_0x1666f7(0x186));_0x2f2ba9&&this[_0x1666f7(0x19e)](_0x2f2ba9);}[_0x15fb3f(0x19e)](_0x3434b6){const _0x2d6200=_0x15fb3f;if(!y(_0x3434b6))throw new _0x318064(_0x2d6200(0x14c));this[_0x2d6200(0x16f)]=_0x3434b6;}[_0x15fb3f(0x158)]({viewClass:_0xcbb2ba='',spaceBetweenItems:_0x438f69=0x19}={}){const _0x10d9f1=_0x15fb3f;if(!y(this[_0x10d9f1(0x16f)]))throw new _0x318064(_0x10d9f1(0x175),this);this[_0x10d9f1(0x16f)][_0x10d9f1(0x17f)](this[_0x10d9f1(0x19f)][_0x10d9f1(0x168)]),this[_0x10d9f1(0x19f)][_0x10d9f1(0x199)]=_0xcbb2ba,this[_0x10d9f1(0x155)]=_0x438f69;}[_0x15fb3f(0x14b)]({removedAnnotation:_0x3a383b,previousAnnotation:_0x43cca6,nextAnnotation:_0x376cd4}){const _0xa595eb=_0x15fb3f,_0x100529=this[_0xa595eb(0x166)](_0x3a383b);this[_0xa595eb(0x19f)][_0xa595eb(0x14e)][_0xa595eb(0x178)](_0x100529),this[_0xa595eb(0x19c)](_0x3a383b),_0x43cca6&&this[_0xa595eb(0x14f)](this[_0xa595eb(0x166)](_0x43cca6)),_0x376cd4&&this[_0xa595eb(0x14f)](this[_0xa595eb(0x166)](_0x376cd4)),this[_0xa595eb(0x18c)]();}[_0x15fb3f(0x157)]({blurredAnnotation:_0x549e0b,activatedAnnotation:_0x52ce03,disableAnimationOnActivatedAnnotation:_0x20c652}){const _0x20b651=_0x15fb3f;if(this[_0x20b651(0x152)]=_0x52ce03,_0x549e0b){_0x549e0b[_0x20b651(0x17b)]=!0x1;const _0x555cb1=this[_0x20b651(0x166)](_0x549e0b);_0x555cb1&&_0x20c652&&(_0x555cb1[_0x20b651(0x18b)]=!0x1);}if(_0x52ce03){const _0x3bffe9=this[_0x20b651(0x166)](_0x52ce03);_0x3bffe9&&(_0x52ce03[_0x20b651(0x17b)]=!0x0,_0x20c652&&(_0x3bffe9[_0x20b651(0x18b)]=!0x0,_0x3bffe9[_0x20b651(0x15a)]+=0x1),this[_0x20b651(0x14f)](_0x3bffe9));}}[_0x15fb3f(0x15d)](_0x2aab12){const _0x5741e6=_0x15fb3f;if(this[_0x5741e6(0x19f)][_0x5741e6(0x168)][_0x5741e6(0x178)](),_0x2aab12){for(const _0x9e0bc0 of _0x2aab12)this[_0x5741e6(0x19c)](_0x9e0bc0);}this[_0x5741e6(0x19f)][_0x5741e6(0x14e)][_0x5741e6(0x17a)](),this[_0x5741e6(0x19f)][_0x5741e6(0x199)]='',this[_0x5741e6(0x18f)]=null;}[_0x15fb3f(0x164)](_0x4429d6,_0x50d440){const _0x374a58=_0x15fb3f;_0x50d440||(_0x50d440=_0x4429d6[_0x374a58(0x19f)]);const _0xae6907=new _0x11e0ed(this[_0x374a58(0x180)][_0x374a58(0x1a3)]);this[_0x374a58(0x149)][_0x374a58(0x1a0)](_0xae6907,_0x4429d6),this[_0x374a58(0x15b)][_0x374a58(0x1a0)](_0x4429d6,_0xae6907),_0xae6907[_0x374a58(0x16a)][_0x374a58(0x15f)](_0x50d440),this[_0x374a58(0x169)](_0x4429d6[_0x374a58(0x19f)],_0x374a58(0x1a2),(_0x35577e,_0x2ba3b8,_0x4c5089)=>{const _0x38a57c=_0x374a58,_0x3a30cf=this[_0x38a57c(0x191)](_0x4429d6,_0x4c5089);_0xae6907[_0x38a57c(0x154)]!=_0x3a30cf&&(_0xae6907[_0x38a57c(0x154)]=_0x3a30cf,this[_0x38a57c(0x194)](_0xae6907,_0x3a30cf));}),this[_0x374a58(0x169)](_0xae6907,_0x374a58(0x196),()=>{const _0x741ade=_0x374a58;this[_0x741ade(0x162)](_0xae6907,_0x741ade(0x15a));}),this[_0x374a58(0x169)](_0xae6907,_0x374a58(0x18a),()=>{const _0x37e824=_0x374a58;this[_0x37e824(0x162)](_0xae6907,_0x37e824(0x185));}),this[_0x374a58(0x14f)](_0xae6907);const _0x17f6cf=this[_0x374a58(0x1a1)](_0xae6907);if(_0x17f6cf)this[_0x374a58(0x18d)](_0x17f6cf,_0xae6907)||this[_0x374a58(0x14f)](_0xae6907);else this[_0x374a58(0x14f)](_0xae6907);return this[_0x374a58(0x18c)](),this[_0x374a58(0x19f)][_0x374a58(0x14e)][_0x374a58(0x15f)](_0xae6907),_0xae6907;}[_0x15fb3f(0x189)](_0x3dee5e){const _0x4dec16=_0x15fb3f;if(!_0x3dee5e[_0x4dec16(0x16a)][_0x4dec16(0x171)])return;const _0x38c7b9=this[_0x4dec16(0x1a1)](_0x3dee5e);if(!_0x38c7b9)return;const _0x4fb87b=this[_0x4dec16(0x149)][_0x4dec16(0x190)](_0x38c7b9),_0x3f5fd7=this[_0x4dec16(0x152)];_0x3f5fd7&&_0x3f5fd7===_0x4fb87b?this[_0x4dec16(0x18d)](_0x38c7b9,_0x3dee5e):this[_0x4dec16(0x18e)](_0x3dee5e,_0x38c7b9);}[_0x15fb3f(0x19b)](_0x4a7440){const _0xdb34e4=_0x15fb3f;if(!_0x4a7440[_0xdb34e4(0x16a)][_0xdb34e4(0x171)])return;const _0x12368f=this[_0xdb34e4(0x147)](_0x4a7440);if(!_0x12368f)return;const _0x186024=this[_0xdb34e4(0x149)][_0xdb34e4(0x190)](_0x12368f),_0x2f269c=this[_0xdb34e4(0x180)][_0xdb34e4(0x188)][_0xdb34e4(0x190)](_0xdb34e4(0x160)),_0x470817=this[_0xdb34e4(0x152)];_0x470817&&_0x470817===_0x186024&&_0x2f269c?(this[_0xdb34e4(0x18e)](_0x12368f,_0x4a7440),this[_0xdb34e4(0x18d)](_0x4a7440,_0x12368f)):_0x470817&&_0x470817===_0x186024?this[_0xdb34e4(0x18e)](_0x12368f,_0x4a7440):this[_0xdb34e4(0x18d)](_0x4a7440,_0x12368f);}[_0x15fb3f(0x162)](_0x50717d,_0xde227c){const _0x78a23c=_0x15fb3f;0x0===this[_0x78a23c(0x182)][_0x78a23c(0x171)]&&setTimeout(()=>{const _0x33dc45=_0x78a23c;for(const {sidebarItemView:_0x8a4ee5,changedProp:_0x550a6a}of this[_0x33dc45(0x182)])_0x33dc45(0x15a)===_0x550a6a?this[_0x33dc45(0x189)](_0x8a4ee5):this[_0x33dc45(0x19b)](_0x8a4ee5);this[_0x33dc45(0x182)]=[];},0xa),this[_0x78a23c(0x182)][_0x78a23c(0x15e)]({'sidebarItemView':_0x50717d,'changedProp':_0xde227c});}[_0x15fb3f(0x166)](_0x32baaa){const _0x5caa56=_0x15fb3f;return this[_0x5caa56(0x15b)][_0x5caa56(0x190)](_0x32baaa);}[_0x15fb3f(0x173)](){const _0x32d767=_0x15fb3f;this[_0x32d767(0x16d)](),this[_0x32d767(0x19f)][_0x32d767(0x173)]();}[_0x15fb3f(0x19c)](_0x5ed1b6){const _0x1215a5=_0x15fb3f,_0x1eda9c=this[_0x1215a5(0x166)](_0x5ed1b6);this[_0x1215a5(0x16d)](_0x1eda9c),this[_0x1215a5(0x16d)](_0x5ed1b6[_0x1215a5(0x19f)]),_0x1eda9c[_0x1215a5(0x173)](),this[_0x1215a5(0x15b)][_0x1215a5(0x170)](_0x5ed1b6),this[_0x1215a5(0x149)][_0x1215a5(0x170)](_0x1eda9c);}[_0x15fb3f(0x165)](){const _0x68c827=_0x15fb3f,_0x49f7e5=new _0x2fc7ec(this[_0x68c827(0x180)][_0x68c827(0x1a3)]);return _0x49f7e5[_0x68c827(0x177)](),this['on'](_0x68c827(0x150),(_0x38fc4b,_0x48d2e7,_0x19c6f8,_0x1130d5)=>{const _0x3e7710=_0x68c827;_0x1130d5&&_0x49f7e5[_0x3e7710(0x151)](_0x3e7710(0x183)),_0x19c6f8?_0x49f7e5[_0x3e7710(0x197)](_0x3e7710(0x183))['to'](_0x19c6f8,_0x3e7710(0x185)):_0x49f7e5[_0x3e7710(0x183)]=null;}),_0x49f7e5;}[_0x15fb3f(0x18c)](){const _0x2c8eef=_0x15fb3f;var _0x10a152;this[_0x2c8eef(0x18f)]=(null===(_0x10a152=this[_0x2c8eef(0x17e)])||void 0x0===_0x10a152?void 0x0:_0x10a152[_0x2c8eef(0x161)])?this[_0x2c8eef(0x166)](this[_0x2c8eef(0x17e)][_0x2c8eef(0x161)]):null;}[_0x15fb3f(0x1a1)](_0x5bacf1){const _0x5bbf0b=_0x15fb3f;var _0x91c313;const _0x2a6ba9=this[_0x5bbf0b(0x149)][_0x5bbf0b(0x190)](_0x5bacf1),_0xb9c5a7=_0x2a6ba9&&(null===(_0x91c313=this[_0x5bbf0b(0x17e)])||void 0x0===_0x91c313?void 0x0:_0x91c313[_0x5bbf0b(0x190)](this[_0x5bbf0b(0x17e)][_0x5bbf0b(0x153)](_0x2a6ba9)-0x1));return _0xb9c5a7&&this[_0x5bbf0b(0x166)](_0xb9c5a7)||null;}[_0x15fb3f(0x147)](_0x4d83f9){const _0x3fca3b=_0x15fb3f;var _0x1ddd5a;const _0x5e08f4=this[_0x3fca3b(0x149)][_0x3fca3b(0x190)](_0x4d83f9),_0x4726be=_0x5e08f4&&(null===(_0x1ddd5a=this[_0x3fca3b(0x17e)])||void 0x0===_0x1ddd5a?void 0x0:_0x1ddd5a[_0x3fca3b(0x190)](this[_0x3fca3b(0x17e)][_0x3fca3b(0x153)](_0x5e08f4)+0x1));return _0x4726be&&this[_0x3fca3b(0x166)](_0x4726be)||null;}[_0x15fb3f(0x18e)](_0x5e123a,_0x2dc551){const _0x3bc091=_0x15fb3f;_0x5e123a[_0x3bc091(0x163)]();const _0x542b81=R(_0x2dc551[_0x3bc091(0x185)]+this[_0x3bc091(0x155)],_0x5e123a[_0x3bc091(0x15a)]);return!!_0x542b81&&(this[_0x3bc091(0x194)](_0x2dc551,_0x2dc551[_0x3bc091(0x15a)]-_0x542b81),!0x0);}[_0x15fb3f(0x18d)](_0x525f1e,_0x1c9ab1){const _0x5e4228=_0x15fb3f;_0x525f1e[_0x5e4228(0x163)]();const _0x5f2c9e=R(_0x525f1e[_0x5e4228(0x185)]+this[_0x5e4228(0x155)],_0x1c9ab1[_0x5e4228(0x15a)]);return!!_0x5f2c9e&&(this[_0x5e4228(0x194)](_0x1c9ab1,_0x1c9ab1[_0x5e4228(0x15a)]+_0x5f2c9e,!0x1),!0x0);}[_0x15fb3f(0x14f)](_0x5cf9d4){const _0x5ba722=_0x15fb3f,_0x25f45d=this[_0x5ba722(0x149)][_0x5ba722(0x190)](_0x5cf9d4);if(!_0x25f45d||!_0x25f45d[_0x5ba722(0x17d)]||!_0x25f45d[_0x5ba722(0x19d)])return;const _0x35a547=this[_0x5ba722(0x191)](_0x25f45d,_0x25f45d[_0x5ba722(0x19d)]);this[_0x5ba722(0x194)](_0x5cf9d4,_0x35a547);}[_0x15fb3f(0x191)](_0x354c91,_0x8f802a){const _0x3369d2=_0x15fb3f;if(null===_0x8f802a)return 0x0;if(_0x354c91[_0x3369d2(0x17d)]instanceof _0x2f4eef)return _0x8f802a[_0x3369d2(0x15a)];{const _0x4421c7=new _0x2f4eef(this[_0x3369d2(0x19f)][_0x3369d2(0x168)])[_0x3369d2(0x15a)];return _0x8f802a[_0x3369d2(0x15a)]-_0x4421c7;}}[_0x15fb3f(0x194)](_0x282542,_0x948f8d,_0x38af5c=this[_0x15fb3f(0x180)][_0x15fb3f(0x188)][_0x15fb3f(0x190)](_0x15fb3f(0x160))){const _0x505a81=_0x15fb3f;_0x38af5c&&(_0x948f8d=Math[_0x505a81(0x167)](_0x948f8d,this[_0x505a81(0x16b)](_0x282542))),_0x282542[_0x505a81(0x15a)]=_0x948f8d;}[_0x15fb3f(0x16b)](_0x13a5b7){const _0x4cdc0c=_0x15fb3f;let _0x18b162=this[_0x4cdc0c(0x1a1)](_0x13a5b7),_0x5c1941=0x0;for(;_0x18b162;)_0x18b162[_0x4cdc0c(0x163)](),_0x5c1941+=this[_0x4cdc0c(0x155)]+_0x18b162[_0x4cdc0c(0x16e)],_0x18b162=this[_0x4cdc0c(0x1a1)](_0x18b162);return _0x5c1941;}}function R(_0x34b0f7,_0x4e8ae3){const _0x50a60b=_0x15fb3f;return Math[_0x50a60b(0x167)](_0x34b0f7-_0x4e8ae3,0x0);}function y(_0x57a62e){const _0x418be3=_0x15fb3f;return null!==_0x57a62e&&_0x418be3(0x16c)==typeof _0x57a62e&&0x1===_0x57a62e[_0x418be3(0x15c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x130076,_0x358180){const _0x4d006c=_0x5b48,_0x1bd952=_0x130076();while(!![]){try{const _0x3aa6d7=-parseInt(_0x4d006c(0xab))/0x1*(parseInt(_0x4d006c(0xba))/0x2)+parseInt(_0x4d006c(0xac))/0x3+-parseInt(_0x4d006c(0xbf))/0x4+-parseInt(_0x4d006c(0xb2))/0x5+parseInt(_0x4d006c(0xa5))/0x6+parseInt(_0x4d006c(0xbe))/0x7*(-parseInt(_0x4d006c(0xa6))/0x8)+parseInt(_0x4d006c(0xb8))/0x9;if(_0x3aa6d7===_0x358180)break;else _0x1bd952['push'](_0x1bd952['shift']());}catch(_0x4eecf1){_0x1bd952['push'](_0x1bd952['shift']());}}}(_0x150b,0x859e3));import{ButtonView as _0x5c58cf,View as _0x3cd7a3}from'ckeditor5/src/ui.js';import _0x253d06 from'../../../theme/icons/add-comment.svg';function _0x5b48(_0x485a5c,_0x4dcd0c){const _0x150ba7=_0x150b();return _0x5b48=function(_0x5b48ad,_0x428a8c){_0x5b48ad=_0x5b48ad-0xa3;let _0x3f5fa8=_0x150ba7[_0x5b48ad];return _0x3f5fa8;},_0x5b48(_0x485a5c,_0x4dcd0c);}export default class D extends _0x5c58cf{constructor(_0x3c6cf4){const _0x556c18=_0x5b48;super(_0x3c6cf4);const _0x2d1dd1=this[_0x556c18(0xa8)];this[_0x556c18(0xad)](_0x556c18(0xb7),!0x1),this[_0x556c18(0xad)](_0x556c18(0xbb),0x0),this[_0x556c18(0xa7)](_0x556c18(0xb5))['to'](this,_0x556c18(0xb7),this,_0x556c18(0xbb),(_0x15fee0,_0x51e506)=>_0x15fee0?_0x556c18(0xaf):_0x51e506[_0x556c18(0xbd)]()),this[_0x556c18(0xad)](_0x556c18(0xb1),''),this[_0x556c18(0xb6)]=_0x253d06,this[_0x556c18(0xa9)]({'attributes':{'class':[_0x556c18(0xa4)]}}),this[_0x556c18(0xb3)]=new _0x3cd7a3(),this[_0x556c18(0xb3)][_0x556c18(0xb9)]({'tag':_0x556c18(0xae),'attributes':{'class':[_0x556c18(0xb4),_0x2d1dd1['to'](_0x556c18(0xb1),_0x140064=>_0x556c18(0xb0)+_0x140064),_0x2d1dd1['if'](_0x556c18(0xb7),_0x556c18(0xaa))]},'children':[{'text':_0x2d1dd1['to'](_0x556c18(0xb5))}]}),this[_0x556c18(0xbc)][_0x556c18(0xa3)](this[_0x556c18(0xb3)]);}}function _0x150b(){const _0x5e8fab=['children','toString','315rCgUfu','1569692qXhTJe','add','ck-annotation-counter','708786kaCvjk','32360jLuPNu','bind','bindTemplate','extendTemplate','ck-annotation-counter__badge--edit-mode','24897gdiQzx','1022535CumgbY','set','span','...','ck-annotation-counter__badge--','annotationType','3533680NJjHcS','counterView','ck-annotation-counter__badge','_badge','icon','isDirty','12549636mGVlps','setTemplate','2KsTrgN','number'];_0x150b=function(){return _0x5e8fab;};return _0x150b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5816e3=_0x1b34;function _0x1b34(_0x617004,_0x192be3){const _0x3cd39c=_0x3cd3();return _0x1b34=function(_0x1b349f,_0x22525b){_0x1b349f=_0x1b349f-0xb7;let _0x4756a2=_0x3cd39c[_0x1b349f];return _0x4756a2;},_0x1b34(_0x617004,_0x192be3);}(function(_0x43d0e2,_0x419551){const _0x521b51=_0x1b34,_0x2bd610=_0x43d0e2();while(!![]){try{const _0x594e4e=parseInt(_0x521b51(0xd4))/0x1*(-parseInt(_0x521b51(0xcb))/0x2)+parseInt(_0x521b51(0xcc))/0x3*(-parseInt(_0x521b51(0xe2))/0x4)+-parseInt(_0x521b51(0xda))/0x5*(parseInt(_0x521b51(0xc4))/0x6)+-parseInt(_0x521b51(0xe4))/0x7*(-parseInt(_0x521b51(0xbf))/0x8)+-parseInt(_0x521b51(0xd3))/0x9+parseInt(_0x521b51(0xc7))/0xa*(parseInt(_0x521b51(0xd5))/0xb)+parseInt(_0x521b51(0xc9))/0xc;if(_0x594e4e===_0x419551)break;else _0x2bd610['push'](_0x2bd610['shift']());}catch(_0x41c894){_0x2bd610['push'](_0x2bd610['shift']());}}}(_0x3cd3,0xeb6c6));import{View as _0x536821}from'ckeditor5/src/ui.js';import{FocusTracker as _0x361250,KeystrokeHandler as _0x4549e9,uid as _0x4a4356}from'ckeditor5/src/utils.js';import _0x2d359f from'../../utils/createmutationobserver.js';function _0x3cd3(){const _0x4df0e2=['length','arrowdown','bindTemplate','fire','mainView','content','6787800vXWseV','135073JjtojF','2359951VJOpoy','element','isActive','height','focus','7194885SpHsCN','Esc','type','first','set','_mutationObserver','_updateHeight','ck-rounded-corners','4mLyQUi','createCollection','319557LGMiIA','div','detach','ck-annotation-wrapper','presentation','attach','clientHeight','ck-annotation-wrapper--active','destroy','focusTracker','targetRect','clear','120KQjTqq','isDirty','delegate','keystrokes','arrowup','6Eorckw','setTemplate','render','70xBAGYL','listenTo','35423580zwvsXh','add','24OQrWxh','1080510VNWhdb'];_0x3cd3=function(){return _0x4df0e2;};return _0x3cd3();}import'../../../theme/annotation.css';export default class T extends _0x536821{constructor(_0x19476e,_0x37451b){const _0xd17c93=_0x1b34;super(_0x19476e),this['id']=_0x4a4356(),this[_0xd17c93(0xbc)]=new _0x361250(),this[_0xd17c93(0xc2)]=new _0x4549e9(),this[_0xd17c93(0xc2)][_0xd17c93(0xde)](_0xd17c93(0xdb),(_0x2cede4,_0x2332ae)=>this[_0xd17c93(0xd0)](_0xd17c93(0xdb),_0x2332ae)),this[_0xd17c93(0xde)](_0xd17c93(0xbd),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xd17c93(0xde)](_0xd17c93(0xd8),0x0),this[_0xd17c93(0xde)](_0xd17c93(0xd7),!0x1),this[_0xd17c93(0xde)](_0xd17c93(0xc0),!0x1),this[_0xd17c93(0xde)](_0xd17c93(0xcd),0x0),this[_0xd17c93(0xde)](_0xd17c93(0xdc),''),this[_0xd17c93(0xdf)]=_0x2d359f(()=>this[_0xd17c93(0xe0)]()),this[_0xd17c93(0xd2)]=this[_0xd17c93(0xe3)](),this[_0xd17c93(0xd2)][_0xd17c93(0xc1)](_0xd17c93(0xc3),_0xd17c93(0xce))['to'](this),this[_0xd17c93(0xd2)][_0xd17c93(0xca)](_0x37451b),this[_0xd17c93(0xd1)]=_0x37451b;const _0x37f1bf=this[_0xd17c93(0xcf)];this[_0xd17c93(0xc5)]({'tag':_0xd17c93(0xe5),'attributes':{'class':['ck',_0xd17c93(0xe7),_0xd17c93(0xe1),_0x37f1bf['if'](_0xd17c93(0xd7),_0xd17c93(0xba))],'role':_0xd17c93(0xb7)},'children':this[_0xd17c93(0xd2)]});}[_0x5816e3(0xc6)](){const _0x4ce318=_0x5816e3;super[_0x4ce318(0xc6)](),this[_0x4ce318(0xbc)][_0x4ce318(0xca)](this[_0x4ce318(0xd6)]),this[_0x4ce318(0xc2)][_0x4ce318(0xc8)](this[_0x4ce318(0xd6)]),this[_0x4ce318(0xdf)][_0x4ce318(0xb8)](this[_0x4ce318(0xd6)]);}[_0x5816e3(0xbb)](){const _0x491b03=_0x5816e3;this[_0x491b03(0xd2)][_0x491b03(0xbe)](),this[_0x491b03(0xc2)][_0x491b03(0xbb)](),this[_0x491b03(0xbc)][_0x491b03(0xbb)](),this[_0x491b03(0xdf)][_0x491b03(0xe6)](),super[_0x491b03(0xbb)]();}[_0x5816e3(0xd9)](){const _0x4200a2=_0x5816e3;this[_0x4200a2(0xd2)][_0x4200a2(0xdd)]&&this[_0x4200a2(0xd2)][_0x4200a2(0xdd)][_0x4200a2(0xd9)]();}[_0x5816e3(0xe0)](){const _0x19b83f=_0x5816e3,_0x2b0064=this[_0x19b83f(0xd6)][_0x19b83f(0xb9)];_0x2b0064&&(this[_0x19b83f(0xd8)]=_0x2b0064);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58bb18=_0x9f56;(function(_0x41373a,_0x22d74b){const _0x5915dd=_0x9f56,_0x597eaa=_0x41373a();while(!![]){try{const _0x2fab82=-parseInt(_0x5915dd(0xca))/0x1*(-parseInt(_0x5915dd(0xd4))/0x2)+-parseInt(_0x5915dd(0xc8))/0x3*(-parseInt(_0x5915dd(0xd9))/0x4)+-parseInt(_0x5915dd(0xce))/0x5*(parseInt(_0x5915dd(0xe1))/0x6)+parseInt(_0x5915dd(0xbd))/0x7*(parseInt(_0x5915dd(0xcf))/0x8)+parseInt(_0x5915dd(0xc3))/0x9*(-parseInt(_0x5915dd(0xd7))/0xa)+parseInt(_0x5915dd(0xc4))/0xb+-parseInt(_0x5915dd(0xe0))/0xc;if(_0x2fab82===_0x22d74b)break;else _0x597eaa['push'](_0x597eaa['shift']());}catch(_0xf65ecb){_0x597eaa['push'](_0x597eaa['shift']());}}}(_0x22bb,0x2bdc9));import{View as _0x4a171a}from'ckeditor5/src/ui.js';import{toUnit as _0x341f67}from'ckeditor5/src/utils.js';import _0x165cbd from'../../utils/createmutationobserver.js';function _0x9f56(_0x1d5e5a,_0x10c1e0){const _0x22bb38=_0x22bb();return _0x9f56=function(_0x9f5653,_0x440794){_0x9f5653=_0x9f5653-0xbd;let _0x4b1442=_0x22bb38[_0x9f5653];return _0x4b1442;},_0x9f56(_0x1d5e5a,_0x10c1e0);}const qt=_0x341f67('px');function _0x22bb(){const _0x367fe5=['div','updateHeight','set','10486DmelwG','clear','render','60lvoCgD','element','12ZaZzDq','arrowdown','destroy','arrowup','bind','first','top','1232628BjIfIH','271230dkMWaX','attach','_mutationObserver','content','bindTemplate','7qayDBB','ck-sidebar-item','presentation','height','isAnimationDisabled','_targetTop','284247pnmlon','3098304itwsaE','ck-sidebar-item--no-animation','clientHeight','focus','156729UluKkI','delegate','47VSQEuI','detach','setTemplate','bottom','25UglDGz','104680SEmSeY','createCollection'];_0x22bb=function(){return _0x367fe5;};return _0x22bb();}export default class H extends _0x4a171a{constructor(_0x5d7eb0){const _0x138013=_0x9f56;super(_0x5d7eb0),this[_0x138013(0xd3)](_0x138013(0xdf),0x0),this[_0x138013(0xd3)](_0x138013(0xc0),0x0),this[_0x138013(0xdd)](_0x138013(0xcd))['to'](this,_0x138013(0xdf),this,_0x138013(0xc0),(_0x344a8a,_0x2196bd)=>_0x344a8a+_0x2196bd),this[_0x138013(0xd3)](_0x138013(0xc1),!0x1),this[_0x138013(0xe3)]=_0x165cbd(()=>this[_0x138013(0xd2)]()),this[_0x138013(0xc2)]=null,this[_0x138013(0xe4)]=this[_0x138013(0xd0)](),this[_0x138013(0xe4)][_0x138013(0xc9)](_0x138013(0xdc),_0x138013(0xda))['to'](this);const _0x1886b3=this[_0x138013(0xe5)];this[_0x138013(0xcc)]({'tag':_0x138013(0xd1),'attributes':{'class':[_0x138013(0xbe),_0x1886b3['to'](_0x138013(0xc1),_0x18717c=>_0x18717c?_0x138013(0xc5):'')],'style':{'top':_0x1886b3['to'](_0x138013(0xdf),_0x40d719=>qt(_0x40d719))},'role':_0x138013(0xbf)},'children':this[_0x138013(0xe4)]});}[_0x58bb18(0xd6)](){const _0x41c3fb=_0x58bb18;super[_0x41c3fb(0xd6)](),this[_0x41c3fb(0xe3)][_0x41c3fb(0xe2)](this[_0x41c3fb(0xd8)]);}[_0x58bb18(0xc7)](){const _0x41c201=_0x58bb18;this[_0x41c201(0xe4)][_0x41c201(0xde)]&&this[_0x41c201(0xe4)][_0x41c201(0xde)][_0x41c201(0xc7)]();}[_0x58bb18(0xd2)](){const _0x5273dd=_0x58bb18,_0x2fd7c0=this[_0x5273dd(0xd8)][_0x5273dd(0xc6)];_0x2fd7c0&&(this[_0x5273dd(0xc0)]=_0x2fd7c0);}[_0x58bb18(0xdb)](){const _0x23cea3=_0x58bb18;this[_0x23cea3(0xe4)][_0x23cea3(0xd5)](),this[_0x23cea3(0xe3)][_0x23cea3(0xcb)](),super[_0x23cea3(0xdb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55eefd=_0x4fa8;(function(_0x18bb6b,_0x56794c){const _0x150093=_0x4fa8,_0x20379e=_0x18bb6b();while(!![]){try{const _0x30eecb=parseInt(_0x150093(0x200))/0x1+parseInt(_0x150093(0x21f))/0x2*(parseInt(_0x150093(0x20a))/0x3)+-parseInt(_0x150093(0x224))/0x4*(-parseInt(_0x150093(0x217))/0x5)+-parseInt(_0x150093(0x212))/0x6+-parseInt(_0x150093(0x21b))/0x7+parseInt(_0x150093(0x21e))/0x8*(parseInt(_0x150093(0x1f9))/0x9)+-parseInt(_0x150093(0x203))/0xa;if(_0x30eecb===_0x56794c)break;else _0x20379e['push'](_0x20379e['shift']());}catch(_0x33ec1a){_0x20379e['push'](_0x20379e['shift']());}}}(_0x553c,0xc903f));import{View as _0x535715,FocusCycler as _0x37b9e4}from'ckeditor5/src/ui.js';import{FocusTracker as _0xf5d25a,toUnit as _0x1dd62e}from'ckeditor5/src/utils.js';function _0x553c(){const _0x44b2f5=['list','2164uLKZFb','add','arrowup','focusables','added','removed','class','Annotations\x20sidebar','6037569kIClYx','set','length','focusNext','forEach','getIndex','div','1092450GrwXdG','element','createCollection','5004600fQvtaT','focusPrevious','application','number','top','ck-reset','Annotations\x20list','705sOunDW','focusCycler','bindTemplate','focus','_setupKeyboardNavigation','minHeight','setTemplate','source','824370RwiVuf','focusFirst','focusTracker','change','ck-sidebar','3115ypGRTv','arrowdown','change:top','listenTo','7183155LnSuxH','remove','render','8knXmtH','3294TqBHQc','_updateItemPositionInFocusables','uiLanguageDirection','delegate'];_0x553c=function(){return _0x44b2f5;};return _0x553c();}import{getTranslation as _0x4f7664}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x1dd62e('px');function _0x4fa8(_0x2acc58,_0x3a8607){const _0x553c1b=_0x553c();return _0x4fa8=function(_0x4fa800,_0x4d6f2f){_0x4fa800=_0x4fa800-0x1f3;let _0x2fe2a6=_0x553c1b[_0x4fa800];return _0x2fe2a6;},_0x4fa8(_0x2acc58,_0x3a8607);}export default class V extends _0x535715{constructor(_0x4357bb){const _0x219db9=_0x4fa8;super(_0x4357bb);const _0x479867=this[_0x219db9(0x20c)];this[_0x219db9(0x1fa)](_0x219db9(0x20f),0x0),this[_0x219db9(0x1fa)](_0x219db9(0x1f7),''),this[_0x219db9(0x223)]=this[_0x219db9(0x202)](),this[_0x219db9(0x1f4)]=this[_0x219db9(0x202)](),this[_0x219db9(0x223)][_0x219db9(0x222)](_0x219db9(0x1f3),_0x219db9(0x218))['to'](this),this[_0x219db9(0x214)]=new _0xf5d25a(),this[_0x219db9(0x20b)]=new _0x37b9e4({'focusables':this[_0x219db9(0x1f4)],'focusTracker':this[_0x219db9(0x214)]}),this[_0x219db9(0x210)]({'tag':_0x219db9(0x1ff),'attributes':{'class':['ck',_0x219db9(0x216),_0x219db9(0x208),_0x479867['to'](_0x219db9(0x1f7))],'style':{'minHeight':_0x479867['to'](_0x219db9(0x20f),_0x564096=>_0x219db9(0x206)==typeof _0x564096?qt(_0x564096+0xa):null)},'dir':_0x4357bb[_0x219db9(0x221)],'role':_0x219db9(0x205),'aria-label':_0x4f7664(_0x4357bb,_0x219db9(0x1f8)),'tabindex':0x0},'children':[{'tag':_0x219db9(0x1ff),'attributes':{'role':_0x219db9(0x223),'aria-label':_0x4f7664(_0x4357bb,_0x219db9(0x209))},'children':this[_0x219db9(0x223)]}]});}[_0x55eefd(0x21d)](){const _0x36da68=_0x55eefd;super[_0x36da68(0x21d)](),this[_0x36da68(0x20e)]();}[_0x55eefd(0x20d)](){const _0x400b4d=_0x55eefd;this[_0x400b4d(0x20b)][_0x400b4d(0x213)]();}[_0x55eefd(0x20e)](){const _0x1f3370=_0x55eefd;this[_0x1f3370(0x223)][_0x1f3370(0x222)](_0x1f3370(0x219))['to'](this),this['on'](_0x1f3370(0x219),_0x11d832=>{const _0x155858=_0x1f3370;this[_0x155858(0x220)](_0x11d832[_0x155858(0x211)]);}),this[_0x1f3370(0x223)][_0x1f3370(0x1fd)](_0x3de040=>{const _0x1bc967=_0x1f3370;this[_0x1bc967(0x214)][_0x1bc967(0x225)](_0x3de040[_0x1bc967(0x201)]),this[_0x1bc967(0x220)](_0x3de040);}),this[_0x1f3370(0x223)]['on'](_0x1f3370(0x215),(_0x40a1bd,_0x229ad1)=>{const _0x3be4e1=_0x1f3370;for(const _0x28bcd0 of _0x229ad1[_0x3be4e1(0x1f6)])this[_0x3be4e1(0x214)][_0x3be4e1(0x21c)](_0x28bcd0[_0x3be4e1(0x201)]),this[_0x3be4e1(0x1f4)][_0x3be4e1(0x21c)](_0x28bcd0);for(const _0x28f2e6 of _0x229ad1[_0x3be4e1(0x1f5)])this[_0x3be4e1(0x214)][_0x3be4e1(0x225)](_0x28f2e6[_0x3be4e1(0x201)]),this[_0x3be4e1(0x220)](_0x28f2e6);}),this['on'](_0x1f3370(0x1f3),()=>{const _0xcc9ddb=_0x1f3370;this[_0xcc9ddb(0x20b)][_0xcc9ddb(0x204)]();}),this['on'](_0x1f3370(0x218),()=>{const _0x2da474=_0x1f3370;this[_0x2da474(0x20b)][_0x2da474(0x1fc)]();}),this[_0x1f3370(0x21a)](this[_0x1f3370(0x201)],_0x1f3370(0x20d),()=>{const _0x1f2aee=_0x1f3370;this[_0x1f2aee(0x20d)]();});}[_0x55eefd(0x220)](_0x6d3d61){const _0x4b15ce=_0x55eefd,_0x42690f=this[_0x4b15ce(0x1f4)][_0x4b15ce(0x1fe)](_0x6d3d61);let _0x459033,_0x3c7474;for(const _0x43711e of this[_0x4b15ce(0x1f4)])if(_0x6d3d61[_0x4b15ce(0x207)]<_0x43711e[_0x4b15ce(0x207)]){_0x459033=_0x43711e;break;}if(_0x3c7474=_0x459033?this[_0x4b15ce(0x1f4)][_0x4b15ce(0x1fe)](_0x459033):this[_0x4b15ce(0x1f4)][_0x4b15ce(0x1fb)],-0x1!==_0x42690f){if(_0x42690f===_0x3c7474-0x1)return;this[_0x4b15ce(0x1f4)][_0x4b15ce(0x21c)](_0x6d3d61),_0x3c7474=_0x459033?this[_0x4b15ce(0x1f4)][_0x4b15ce(0x1fe)](_0x459033):this[_0x4b15ce(0x1f4)][_0x4b15ce(0x1fb)];}this[_0x4b15ce(0x1f4)][_0x4b15ce(0x225)](_0x6d3d61,_0x3c7474);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x21bf(_0x1e0f52,_0x5bc110){const _0xeae0de=_0xeae0();return _0x21bf=function(_0x21bf56,_0x496fae){_0x21bf56=_0x21bf56-0x86;let _0x78b777=_0xeae0de[_0x21bf56];return _0x78b777;},_0x21bf(_0x1e0f52,_0x5bc110);}function _0xeae0(){const _0x3fe9ac=['110ShgVot','widesidebar-detach-not-attached','init','2804440yUfMZU','editors','plugins','isPremiumPlugin','change:container','context','add','50640pSlMjF','_destroyEditorAnnotationsIntegration','refreshPositioning','removeEventListener','stopListening','remove','high','destroy','isAttached','activeAnnotation','requires','ready','off','set','register','pluginName','from','listenTo','refresh','attach','blur','annotations','41892WoSRvd','get','cancel','updateTargetRect','has','4411IHskvp','1871676PBweKe','_detachFromContainer','set:container','1203thfcjD','stop','resize','_refreshPositioningDebounced','7uofueN','switchTo','_attachToContainer','_activeAnnotation','wideSidebar','3vUjetI','focus','isOfficialPlugin','addEventListener','addAnnotation','1370692QnhOgS','detach','940760JnSqJR','WideSidebar','_annotations','container','_editorAnnotations','EditorAnnotations','ck-sidebar--wide','hasDomSelection','getOrderedSelectedAnnotations','rearrange','549HXZmit','widesidebar-attach-already-attached','_integrateWithEditorAnnotations','uiUpdate','setActiveAnnotation'];_0xeae0=function(){return _0x3fe9ac;};return _0xeae0();}const _0x131f1e=_0x21bf;(function(_0xf5f105,_0x4bc5e3){const _0x4f16f0=_0x21bf,_0xde3b16=_0xf5f105();while(!![]){try{const _0x35c6f1=-parseInt(_0x4f16f0(0xba))/0x1*(parseInt(_0x4f16f0(0x91))/0x2)+-parseInt(_0x4f16f0(0xc3))/0x3*(parseInt(_0x4f16f0(0xc8))/0x4)+parseInt(_0x4f16f0(0xca))/0x5+-parseInt(_0x4f16f0(0xb7))/0x6*(parseInt(_0x4f16f0(0xbe))/0x7)+parseInt(_0x4f16f0(0x9b))/0x8*(-parseInt(_0x4f16f0(0x8c))/0x9)+-parseInt(_0x4f16f0(0x94))/0xa+-parseInt(_0x4f16f0(0xb6))/0xb*(-parseInt(_0x4f16f0(0xb1))/0xc);if(_0x35c6f1===_0x4bc5e3)break;else _0xde3b16['push'](_0xde3b16['shift']());}catch(_0x4a48dc){_0xde3b16['push'](_0xde3b16['shift']());}}}(_0xeae0,0x30fed));import{ContextPlugin as _0x27f4a7,Context as _0x41af4a}from'ckeditor5/src/core.js';import _0x18a382 from'./annotationsuis.js';import _0x1c7df2 from'./sidebar.js';import{CKEditorError as _0x5f546e,Collection as _0x497c44}from'ckeditor5/src/utils.js';import{debounce as _0x27c4d7}from'lodash-es';export default class e extends _0x27f4a7{static get[_0x131f1e(0xa5)](){return[_0x1c7df2,_0x18a382];}static get[_0x131f1e(0xaa)](){const _0x3acc36=_0x131f1e;return _0x3acc36(0xcb);}static get[_0x131f1e(0xc5)](){return!0x0;}static get[_0x131f1e(0x97)](){return!0x0;}constructor(_0x454a35){const _0x3a93a8=_0x131f1e;super(_0x454a35),this[_0x3a93a8(0xa3)]=!0x1,this[_0x3a93a8(0xa8)](_0x3a93a8(0xa4),null),this[_0x3a93a8(0xb0)]=null,this[_0x3a93a8(0x86)]=new _0x497c44(),this[_0x3a93a8(0xbd)]=_0x27c4d7(()=>{const _0x49ac07=_0x3a93a8;this[_0x49ac07(0xb0)][_0x49ac07(0x9d)]();},0xfa,{'leading':!0x1});}[_0x131f1e(0x93)](){const _0x30a526=_0x131f1e,_0x5a80e6=this[_0x30a526(0x99)][_0x30a526(0x96)][_0x30a526(0xb2)](_0x18a382),_0x1aff0b=this[_0x30a526(0x99)][_0x30a526(0x96)][_0x30a526(0xb2)](_0x1c7df2);_0x5a80e6[_0x30a526(0xa9)](_0x30a526(0xc2),this),_0x1aff0b[_0x30a526(0xcd)]&&_0x5a80e6[_0x30a526(0xbf)](_0x30a526(0xc2));}[_0x131f1e(0x90)](_0x1663bb){const _0x1eb592=_0x131f1e;if(_0x1663bb===this[_0x1eb592(0xa4)])return;const _0x22fd5b=this[_0x1eb592(0x99)][_0x1eb592(0x96)][_0x1eb592(0xb2)](_0x1c7df2);_0x22fd5b[_0x1eb592(0xc1)]=_0x1663bb;const _0x576406=this[_0x1eb592(0xa4)];this[_0x1eb592(0xa4)]=_0x1663bb,_0x22fd5b[_0x1eb592(0xad)]({'blurredAnnotation':_0x576406,'activatedAnnotation':this[_0x1eb592(0xa4)]});}[_0x131f1e(0xae)](_0x48e846){const _0x49fb5d=_0x131f1e;this[_0x49fb5d(0xb0)]=_0x48e846;const _0x298b81=this[_0x49fb5d(0x99)][_0x49fb5d(0x96)][_0x49fb5d(0xb2)](_0x1c7df2);if(_0x298b81[_0x49fb5d(0xcc)]=_0x48e846,this[_0x49fb5d(0xa3)])throw new _0x5f546e(_0x49fb5d(0x8d),this);this[_0x49fb5d(0xa3)]=!0x0,this[_0x49fb5d(0xac)](_0x298b81,_0x49fb5d(0xb9),()=>{const _0x2c8f22=_0x49fb5d;this[_0x2c8f22(0xc9)](),this[_0x2c8f22(0xac)](_0x298b81,_0x2c8f22(0x98),_0x59dc65=>{const _0x2855ee=_0x2c8f22;_0x59dc65[_0x2855ee(0xa7)](),this[_0x2855ee(0xae)](_0x48e846);});}),_0x298b81[_0x49fb5d(0xc0)]({'viewClass':_0x49fb5d(0x88)});const _0x3cee92=_0x25eee6=>{const _0x3f4aaa=_0x49fb5d;_0x25eee6[_0x3f4aaa(0xb4)](),_0x298b81[_0x3f4aaa(0xc7)](_0x25eee6);};for(const _0x7272c0 of _0x48e846)_0x3cee92(_0x7272c0);this[_0x49fb5d(0xac)](_0x48e846,_0x49fb5d(0x9a),(_0x2dc68b,_0x38d2b7)=>{_0x3cee92(_0x38d2b7);}),this[_0x49fb5d(0xac)](_0x48e846,_0x49fb5d(0xa0),(_0x9bbb5b,_0x445772,_0x526e76)=>{const _0x4949dd=_0x49fb5d;_0x298b81[_0x4949dd(0x8b)]({'removedAnnotation':_0x445772,'previousAnnotation':_0x48e846[_0x4949dd(0xb2)](_0x526e76-0x1),'nextAnnotation':_0x48e846[_0x4949dd(0xb2)](_0x526e76+0x1)}),_0x445772===this[_0x4949dd(0xa4)]&&this[_0x4949dd(0x90)](null);},{'priority':_0x49fb5d(0xa1)}),this[_0x49fb5d(0xac)](_0x48e846,_0x49fb5d(0xc4),(_0x189ca4,_0xf45b26)=>{const _0x58cd82=_0x49fb5d;this[_0x58cd82(0x90)](_0xf45b26);}),this[_0x49fb5d(0xac)](_0x48e846,_0x49fb5d(0xaf),()=>{const _0x59dc11=_0x49fb5d;this[_0x59dc11(0x90)](null);});const _0x1cc2f6=this[_0x49fb5d(0x99)]instanceof _0x41af4a?this[_0x49fb5d(0x99)][_0x49fb5d(0x95)]:new _0x497c44([this[_0x49fb5d(0x99)]]);for(const _0x531349 of _0x1cc2f6)this[_0x49fb5d(0x8e)](_0x531349);this[_0x49fb5d(0xac)](_0x1cc2f6,_0x49fb5d(0x9a),(_0x1a94fb,_0x348270)=>{const _0x4b6fae=_0x49fb5d;this[_0x4b6fae(0xac)](_0x348270,_0x4b6fae(0xa6),()=>{const _0x578785=_0x4b6fae;this[_0x578785(0x8e)](_0x348270);});}),this[_0x49fb5d(0xac)](_0x1cc2f6,_0x49fb5d(0xa0),(_0x46d6cd,_0x3a1790)=>{const _0x1b0b0f=_0x49fb5d;_0x3a1790[_0x1b0b0f(0x96)][_0x1b0b0f(0xb5)](_0x1b0b0f(0x87))&&this[_0x1b0b0f(0x9c)](_0x3a1790[_0x1b0b0f(0x96)][_0x1b0b0f(0xb2)](_0x1b0b0f(0x87)));}),window[_0x49fb5d(0xc6)](_0x49fb5d(0xbc),this[_0x49fb5d(0xbd)]),this[_0x49fb5d(0xb0)][_0x49fb5d(0x9d)]();}[_0x131f1e(0xc9)](){const _0xa8b931=_0x131f1e;if(!this[_0xa8b931(0xa3)])throw new _0x5f546e(_0xa8b931(0x92),this);this[_0xa8b931(0x90)](null);const _0x5306ed=this[_0xa8b931(0x99)][_0xa8b931(0x96)][_0xa8b931(0xb2)](_0x1c7df2);_0x5306ed[_0xa8b931(0xb8)](this[_0xa8b931(0xb0)]),this[_0xa8b931(0x9f)](_0x5306ed),this[_0xa8b931(0x9f)](this[_0xa8b931(0xb0)]),this[_0xa8b931(0x99)]instanceof _0x41af4a&&this[_0xa8b931(0x9f)](this[_0xa8b931(0x99)][_0xa8b931(0x95)]);for(const _0x43373c of Array[_0xa8b931(0xab)](this[_0xa8b931(0x86)]))this[_0xa8b931(0x9c)](_0x43373c);window[_0xa8b931(0x9e)](_0xa8b931(0xbc),this[_0xa8b931(0xbd)]),this[_0xa8b931(0xbd)][_0xa8b931(0xb3)](),this[_0xa8b931(0xa4)]=null,this[_0xa8b931(0xa3)]=!0x1,this[_0xa8b931(0xb0)]=null;}[_0x131f1e(0xa2)](){const _0x5e0c07=_0x131f1e;this[_0x5e0c07(0xa3)]&&this[_0x5e0c07(0xc9)]();}[_0x131f1e(0x8e)](_0x5ba0d0){const _0x211100=_0x131f1e;if(!_0x5ba0d0[_0x211100(0x96)][_0x211100(0xb5)](_0x211100(0x87)))return;const _0x54ff85=_0x5ba0d0[_0x211100(0x96)][_0x211100(0xb2)](_0x211100(0x87)),_0x46f465=()=>{const _0xd75133=_0x211100,_0x67d633=_0x54ff85[_0xd75133(0x8a)]({'annotations':this[_0xd75133(0xb0)],'activeAnnotation':this[_0xd75133(0xa4)]});this[_0xd75133(0x90)](_0x67d633[0x0]||null);};this[_0x211100(0xac)](_0x54ff85,_0x211100(0xad),_0x46f465),this[_0x211100(0xac)](_0x54ff85,_0x211100(0xaf),(_0x578e9c,{isAnnotationTracked:_0x2a3e49})=>{const _0x518fe2=_0x211100;this[_0x518fe2(0xa4)]&&_0x2a3e49(this[_0x518fe2(0xa4)])&&this[_0x518fe2(0x90)](null);}),this[_0x211100(0xac)](_0x54ff85,_0x211100(0x8f),()=>{const _0x250dc9=_0x211100;this[_0x250dc9(0xbd)]();}),this[_0x211100(0xac)](this[_0x211100(0xb0)],_0x211100(0xaf),_0x4736e6=>{const _0x52b3cb=_0x211100;_0x54ff85[_0x52b3cb(0x89)]()&&(_0x46f465(),_0x4736e6[_0x52b3cb(0xbb)]());},{'priority':_0x211100(0xa1)}),this[_0x211100(0x86)][_0x211100(0x9a)](_0x54ff85);}[_0x131f1e(0x9c)](_0x1af3df){const _0x405961=_0x131f1e;this[_0x405961(0x9f)](_0x1af3df),this[_0x405961(0x86)][_0x405961(0xa0)](_0x1af3df);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf6ae55=_0x5eec;(function(_0x3ffaf3,_0x46cac8){const _0x152a6f=_0x5eec,_0xcba996=_0x3ffaf3();while(!![]){try{const _0x3894e6=parseInt(_0x152a6f(0x1bd))/0x1*(-parseInt(_0x152a6f(0x1b8))/0x2)+parseInt(_0x152a6f(0x1ab))/0x3+parseInt(_0x152a6f(0x1a8))/0x4+-parseInt(_0x152a6f(0x1ae))/0x5+parseInt(_0x152a6f(0x1bc))/0x6*(parseInt(_0x152a6f(0x1a3))/0x7)+-parseInt(_0x152a6f(0x1b0))/0x8*(parseInt(_0x152a6f(0x1a5))/0x9)+parseInt(_0x152a6f(0x1a4))/0xa;if(_0x3894e6===_0x46cac8)break;else _0xcba996['push'](_0xcba996['shift']());}catch(_0x309414){_0xcba996['push'](_0xcba996['shift']());}}}(_0x5a4b,0xbdbec));import{Command as _0x51ca27}from'ckeditor5/src/core.js';function _0x5a4b(){const _0x55bcd7=['12527800ulnTOI','9CSlbLe','comment:','$textProxy','4685328VNVxLb','createRange','execute','2318454MvMgya','document','_trimToContent','6599970jfYXWB','_hasContent','3739984XjpGiF','change','end','model','element','substr','refresh','isObject','528kUDEOD','isEnabled','start','selection','6NVRZNZ','5604bCYJGl','editor','getItems','push','getLastMatchingPosition','backward','addMarker','schema','getRanges','_itemIsContent','tableCell','item','5930498ERkZaa'];_0x5a4b=function(){return _0x55bcd7;};return _0x5a4b();}import{uid as _0x1c8045}from'ckeditor5/src/utils.js';function _0x5eec(_0x13806b,_0x27c3d8){const _0x5a4ba2=_0x5a4b();return _0x5eec=function(_0x5eeca3,_0x305bb1){_0x5eeca3=_0x5eeca3-0x19b;let _0x283df8=_0x5a4ba2[_0x5eeca3];return _0x283df8;},_0x5eec(_0x13806b,_0x27c3d8);}export default class J extends _0x51ca27{[_0xf6ae55(0x1b6)](){const _0x262555=_0xf6ae55,_0x40bbe4=this[_0x262555(0x1be)][_0x262555(0x1b3)][_0x262555(0x1ac)][_0x262555(0x1bb)];for(const _0x41eeb9 of _0x40bbe4[_0x262555(0x19f)]())if(this[_0x262555(0x1af)](_0x41eeb9))return void(this[_0x262555(0x1b9)]=!0x0);this[_0x262555(0x1b9)]=!0x1;}[_0xf6ae55(0x1aa)]({threadId:_0x4b5fe7=_0x1c8045()}={}){const _0x3fe670=_0xf6ae55,_0x11b722=this[_0x3fe670(0x1be)][_0x3fe670(0x1b3)],_0x1f939d=[];for(const _0x369a19 of _0x11b722[_0x3fe670(0x1ac)][_0x3fe670(0x1bb)][_0x3fe670(0x19f)]())this[_0x3fe670(0x1af)](_0x369a19)&&_0x1f939d[_0x3fe670(0x1c0)](this[_0x3fe670(0x1ad)](_0x369a19));_0x11b722[_0x3fe670(0x1b1)](_0x7298c5=>{const _0x20c8fa=_0x3fe670;for(const _0x5f4a9d of _0x1f939d){const _0x593330=_0x1c8045()[_0x20c8fa(0x1b5)](0x1,0x5),_0x3fd738=_0x20c8fa(0x1a6)+_0x4b5fe7+':'+_0x593330;_0x7298c5[_0x20c8fa(0x19d)](_0x3fd738,{'range':_0x5f4a9d,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0xf6ae55(0x1af)](_0x4445a5){const _0x4bd7c5=_0xf6ae55;for(const _0x2bebfe of _0x4445a5[_0x4bd7c5(0x1bf)]())if(this[_0x4bd7c5(0x1a0)](_0x2bebfe))return!0x0;return!0x1;}[_0xf6ae55(0x1a0)](_0x41d353){const _0x55aaee=_0xf6ae55;return _0x41d353['is'](_0x55aaee(0x1a7))||this[_0x55aaee(0x1be)][_0x55aaee(0x1b3)][_0x55aaee(0x19e)][_0x55aaee(0x1b7)](_0x41d353)&&!_0x41d353['is'](_0x55aaee(0x1b4),_0x55aaee(0x1a1));}[_0xf6ae55(0x1ad)](_0x68c946){const _0x4bf263=_0xf6ae55,_0x274ce9=_0x19ff19=>!this[_0x4bf263(0x1a0)](_0x19ff19[_0x4bf263(0x1a2)]),_0x3f5c63=_0x68c946[_0x4bf263(0x1ba)][_0x4bf263(0x19b)](_0x274ce9),_0x1b0e53=_0x68c946[_0x4bf263(0x1b2)][_0x4bf263(0x19b)](_0x274ce9,{'direction':_0x4bf263(0x19c)});return this[_0x4bf263(0x1be)][_0x4bf263(0x1b3)][_0x4bf263(0x1a9)](_0x3f5c63,_0x1b0e53);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1738da=_0x58c6;function _0x58c6(_0x3c4693,_0x524d46){const _0x5f01ec=_0x5f01();return _0x58c6=function(_0x58c61e,_0x2736ef){_0x58c61e=_0x58c61e-0x1e7;let _0x5e1837=_0x5f01ec[_0x58c61e];return _0x5e1837;},_0x58c6(_0x3c4693,_0x524d46);}(function(_0x590d29,_0x22d5cd){const _0x5aa3d8=_0x58c6,_0x11319a=_0x590d29();while(!![]){try{const _0x46cda4=-parseInt(_0x5aa3d8(0x1fd))/0x1*(parseInt(_0x5aa3d8(0x1e9))/0x2)+parseInt(_0x5aa3d8(0x205))/0x3+parseInt(_0x5aa3d8(0x20e))/0x4+parseInt(_0x5aa3d8(0x203))/0x5*(parseInt(_0x5aa3d8(0x202))/0x6)+-parseInt(_0x5aa3d8(0x1eb))/0x7*(parseInt(_0x5aa3d8(0x1f3))/0x8)+-parseInt(_0x5aa3d8(0x1f9))/0x9*(-parseInt(_0x5aa3d8(0x1ee))/0xa)+parseInt(_0x5aa3d8(0x1e8))/0xb;if(_0x46cda4===_0x22d5cd)break;else _0x11319a['push'](_0x11319a['shift']());}catch(_0x7ea37d){_0x11319a['push'](_0x11319a['shift']());}}}(_0x5f01,0xc8b05));import{ContextPlugin as _0x43d9cb}from'ckeditor5/src/core.js';function _0x5f01(){const _0x1c8e06=['1975127DiNyRC','38PYBeyi','collection','364iwzgDg','remove','init','4040szqrqk','requires','removeCommentThread','isPremiumPlugin','get','169032bDGeRj','isActive','isOfficialPlugin','addCommentThread','CommentsArchive','highest','20358uSFMqt','activate','focus','plugins','31589AJQzrX','_calculatePosition','has','length','listenTo','167556iiNFBX','5VhdsRa','context','3591561DQQaJe','add','archivedThreads','change:archivedAt','findIndex','isVisible','stopListening','pluginName','getCommentThread','809608FpMvkb','archivedAt'];_0x5f01=function(){return _0x1c8e06;};return _0x5f01();}import{Collection as _0x2b31ce}from'ckeditor5/src/utils.js';import _0x3be208 from'./commentsrepository.js';import _0x54fdb9 from'../annotations/annotations.js';export default class f extends _0x43d9cb{static get[_0x1738da(0x20c)](){const _0x314474=_0x1738da;return _0x314474(0x1f7);}static get[_0x1738da(0x1f5)](){return!0x0;}static get[_0x1738da(0x1f1)](){return!0x0;}static get[_0x1738da(0x1ef)](){return[_0x3be208,_0x54fdb9];}constructor(_0x16d961){const _0x2f1d4d=_0x1738da;super(_0x16d961),this[_0x2f1d4d(0x207)]=new _0x2b31ce();}[_0x1738da(0x1ed)](){const _0x39c5dc=_0x1738da,_0x3dd33c=this[_0x39c5dc(0x204)],_0x4f8198=_0x3dd33c[_0x39c5dc(0x1fc)][_0x39c5dc(0x1f2)](_0x3be208),_0x5e94dd=_0x3dd33c[_0x39c5dc(0x1fc)][_0x39c5dc(0x1f2)](_0x54fdb9);this[_0x39c5dc(0x201)](_0x4f8198,_0x39c5dc(0x1f6),(_0x47c284,{threadId:_0xcf6c61})=>{const _0x3ee3c9=_0x39c5dc,_0x37d365=_0x4f8198[_0x3ee3c9(0x20d)](_0xcf6c61);_0x37d365[_0x3ee3c9(0x1e7)]&&this[_0x3ee3c9(0x207)][_0x3ee3c9(0x206)](_0x37d365,this[_0x3ee3c9(0x1fe)](_0x37d365[_0x3ee3c9(0x1e7)])),this[_0x3ee3c9(0x201)](_0x37d365,_0x3ee3c9(0x208),(_0x1de7c3,_0x4f7192,_0x3049ed)=>{const _0x9de88b=_0x3ee3c9;_0x3049ed?this[_0x9de88b(0x207)][_0x9de88b(0x1ff)](_0x37d365)||this[_0x9de88b(0x207)][_0x9de88b(0x206)](_0x37d365,this[_0x9de88b(0x1fe)](_0x37d365[_0x9de88b(0x1e7)])):this[_0x9de88b(0x207)][_0x9de88b(0x1ff)](_0x37d365)&&this[_0x9de88b(0x207)][_0x9de88b(0x1ec)](_0x37d365);});}),this[_0x39c5dc(0x201)](_0x4f8198,_0x39c5dc(0x1f0),(_0x5645e4,{threadId:_0x591b20})=>{const _0x5ad575=_0x39c5dc,_0x66d08=_0x4f8198[_0x5ad575(0x20d)](_0x591b20);this[_0x5ad575(0x20b)](_0x66d08),this[_0x5ad575(0x207)][_0x5ad575(0x1ff)](_0x66d08)&&this[_0x5ad575(0x207)][_0x5ad575(0x1ec)](_0x66d08);},{'priority':_0x39c5dc(0x1f8)}),this[_0x39c5dc(0x201)](_0x5e94dd[_0x39c5dc(0x1ea)],_0x39c5dc(0x1fb),(_0x389612,_0x5ce670)=>{const _0x129d41=_0x39c5dc;_0x5ce670[_0x129d41(0x20a)]||(_0x5ce670[_0x129d41(0x1f4)]=!0x0,_0x5e94dd[_0x129d41(0x1fa)](_0x5ce670));});}[_0x1738da(0x1fe)](_0x302dd2){const _0x12b31e=_0x1738da,_0x219180=[...this[_0x12b31e(0x207)]][_0x12b31e(0x209)](_0x20e02f=>_0x20e02f[_0x12b31e(0x1e7)]<_0x302dd2);return _0x219180>-0x1?_0x219180:this[_0x12b31e(0x207)][_0x12b31e(0x200)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20c133=_0x7fbd;(function(_0x43619f,_0x11ee95){const _0x4c63f9=_0x7fbd,_0x5f0187=_0x43619f();while(!![]){try{const _0x100038=-parseInt(_0x4c63f9(0x1ec))/0x1+-parseInt(_0x4c63f9(0x1d6))/0x2*(parseInt(_0x4c63f9(0x1ef))/0x3)+parseInt(_0x4c63f9(0x1f3))/0x4+parseInt(_0x4c63f9(0x1cc))/0x5+parseInt(_0x4c63f9(0x1e0))/0x6+-parseInt(_0x4c63f9(0x1c4))/0x7+parseInt(_0x4c63f9(0x1f1))/0x8;if(_0x100038===_0x11ee95)break;else _0x5f0187['push'](_0x5f0187['shift']());}catch(_0x3d8af2){_0x5f0187['push'](_0x5f0187['shift']());}}}(_0xedf4,0xb17b8));import'../../theme/commentsarchive.css';import{Plugin as _0x353116}from'ckeditor5/src/core.js';import{ViewCollection as _0x3320b7,MenuBarMenuListItemButtonView as _0x3e613a,ButtonView as _0x2d73bf,Dialog as _0x30ed77,DialogViewPosition as _0x28880c}from'ckeditor5/src/ui.js';function _0xedf4(){const _0x3bbac2=['isEnabled','has','source','filter','142564qNnPlI','view','requires','174909tChuVd','push','13175360RoxAeZ','findIndex','2343076APFQGF','isPremiumPlugin','focusableElements','isOfficialPlugin','_threadToController','isVisible','_visibleAnnotations','componentFactory','config','set','commentsArchiveView','CommentsRepository','stopListening','hide','commentsArchive','getByInnerView','execute','stop','pluginName','escape','add','_pendingThreads','menuitemcheckbox','CommentsArchiveUI','6741952lSEfsy','archivedAt','show','locale','collaboration.channelId','_toggleDialog','annotationViews','indexOf','97545ZvDxPx','plugins','get','listenTo','isOpen','bind','isOn','collection','EDITOR_TOP_SIDE','_hideDialogOnAnnotationEscape','38kcfFqB','_createCommentsArchiveButton','length','archivedThreads','innerView','splice','find','menuBar:commentsArchive','remove','Dialog','4129362swsIIE','Annotations','editor','_calculatePosition','channelId','tooltip','COMMENTS_ARCHIVE','init'];_0xedf4=function(){return _0x3bbac2;};return _0xedf4();}import _0xe4e005 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x53d637}from'../utils/common-translations.js';import _0x636fd0 from'./ui/view/commentsarchiveview.js';import _0x1e5a42 from'./commentsarchive.js';function _0x7fbd(_0x639427,_0x59edec){const _0xedf4c2=_0xedf4();return _0x7fbd=function(_0x7fbdd0,_0x1748fd){_0x7fbdd0=_0x7fbdd0-0x1bd;let _0x112bac=_0xedf4c2[_0x7fbdd0];return _0x112bac;},_0x7fbd(_0x639427,_0x59edec);}export default class a extends _0x353116{static get[_0x20c133(0x1be)](){const _0x55f5c0=_0x20c133;return _0x55f5c0(0x1c3);}static get[_0x20c133(0x1f6)](){return!0x0;}static get[_0x20c133(0x1f4)](){return!0x0;}static get[_0x20c133(0x1ee)](){return[_0x1e5a42,_0x30ed77];}constructor(_0xfa27be){const _0x30f6cd=_0x20c133;super(_0xfa27be),this[_0x30f6cd(0x1d5)]=_0x9ac69a=>{const _0x4e6265=_0x30f6cd,_0x224a9a=_0x9ac69a[_0x4e6265(0x1ea)];if(!this[_0x4e6265(0x1ca)][_0x4e6265(0x1e9)](_0x224a9a[_0x4e6265(0x1ed)]))return;const _0x422b9c=this[_0x4e6265(0x1e2)][_0x4e6265(0x1cd)][_0x4e6265(0x1ce)](_0x4e6265(0x1df));_0x422b9c[_0x4e6265(0x1d0)]&&_0x4e6265(0x201)===_0x422b9c['id']&&(_0x422b9c[_0x4e6265(0x200)](),_0x9ac69a[_0x4e6265(0x1bd)]());},this[_0x30f6cd(0x1ca)]=new _0x3320b7(),this[_0x30f6cd(0x1c1)]=[];}[_0x20c133(0x1e7)](){const _0x1f2766=_0x20c133,_0x1947f0=this[_0x1f2766(0x1e2)],_0x1d0d32=this[_0x1f2766(0x1d5)][_0x1f2766(0x1d1)](this);_0x1947f0['ui'][_0x1f2766(0x1fa)][_0x1f2766(0x1c0)](_0x1f2766(0x201),()=>this[_0x1f2766(0x1d7)](_0x2d73bf,!0x0)),_0x1947f0['ui'][_0x1f2766(0x1fa)][_0x1f2766(0x1c0)](_0x1f2766(0x1dd),()=>{const _0x1f96a7=_0x1f2766,_0x2754e6=this[_0x1f96a7(0x1d7)](_0x3e613a);return _0x2754e6[_0x1f96a7(0x1fc)]({'role':_0x1f96a7(0x1c2)}),_0x2754e6;});const _0x54b06b=_0x1947f0[_0x1f2766(0x1cd)][_0x1f2766(0x1ce)](_0x1e5a42),_0x2a1ffb=_0x1947f0[_0x1f2766(0x1cd)][_0x1f2766(0x1ce)](_0x1f2766(0x1e1)),_0x119138=_0x1947f0[_0x1f2766(0x1cd)][_0x1f2766(0x1ce)](_0x1f2766(0x1fe));this[_0x1f2766(0x1cf)](_0x54b06b[_0x1f2766(0x1d9)],_0x1f2766(0x1c0),(_0x2338ac,_0x5ad159)=>{const _0x35f418=_0x1f2766,_0x41f788=_0x1947f0[_0x35f418(0x1fb)][_0x35f418(0x1ce)](_0x35f418(0x1c8));if(!_0x41f788||_0x5ad159[_0x35f418(0x1e4)]===_0x41f788){const _0x145b14=_0x119138[_0x35f418(0x1f7)][_0x35f418(0x1ce)](_0x5ad159);if(!_0x145b14)return void this[_0x35f418(0x1c1)][_0x35f418(0x1f0)](_0x5ad159);const _0x50e071=this[_0x35f418(0x1e3)](_0x5ad159[_0x35f418(0x1c5)]),_0x1227f9=_0x2a1ffb[_0x35f418(0x202)](_0x145b14[_0x35f418(0x1ed)]);_0x1227f9[_0x35f418(0x1f8)]&&_0x2a1ffb[_0x35f418(0x1f9)][_0x35f418(0x1de)](_0x1227f9),this[_0x35f418(0x1ca)][_0x35f418(0x1c0)](_0x1227f9[_0x35f418(0x1ed)],_0x50e071);}}),this[_0x1f2766(0x1cf)](_0x2a1ffb[_0x1f2766(0x1d3)],_0x1f2766(0x1c0),(_0x1283b7,_0x321c5f)=>{const _0x5d8d36=_0x1f2766,_0xe2b140=this[_0x5d8d36(0x1c1)][_0x5d8d36(0x1dc)](_0x245bbd=>{const _0x4d2695=_0x5d8d36,_0x492a7e=_0x119138[_0x4d2695(0x1f7)][_0x4d2695(0x1ce)](_0x245bbd);return _0x492a7e&&_0x321c5f[_0x4d2695(0x1da)]===_0x492a7e[_0x4d2695(0x1ed)];});if(_0xe2b140){const _0x3f9be7=this[_0x5d8d36(0x1e3)](_0xe2b140[_0x5d8d36(0x1c5)]);this[_0x5d8d36(0x1ca)][_0x5d8d36(0x1c0)](_0x321c5f[_0x5d8d36(0x1ed)],_0x3f9be7),this[_0x5d8d36(0x1c1)][_0x5d8d36(0x1db)](this[_0x5d8d36(0x1c1)][_0x5d8d36(0x1cb)](_0xe2b140),0x1);}}),this[_0x1f2766(0x1cf)](_0x54b06b[_0x1f2766(0x1d9)],_0x1f2766(0x1de),(_0x1311db,_0x2e346c)=>{const _0x5bc9bb=_0x1f2766,_0x424c2b=_0x1947f0[_0x5bc9bb(0x1fb)][_0x5bc9bb(0x1ce)](_0x5bc9bb(0x1c8));if(!_0x424c2b||_0x2e346c[_0x5bc9bb(0x1e4)]===_0x424c2b){const _0x3d61fb=_0x119138[_0x5bc9bb(0x1f7)][_0x5bc9bb(0x1ce)](_0x2e346c),_0x20b665=_0x2a1ffb[_0x5bc9bb(0x202)](_0x3d61fb[_0x5bc9bb(0x1ed)]);this[_0x5bc9bb(0x1ca)][_0x5bc9bb(0x1de)](_0x20b665[_0x5bc9bb(0x1ed)]),this[_0x5bc9bb(0x1ff)](_0x20b665[_0x5bc9bb(0x1f5)]);}}),this[_0x1f2766(0x1cf)](_0x2a1ffb[_0x1f2766(0x1d3)],_0x1f2766(0x1c0),(_0xd1d10,_0x10625c)=>{const _0xf65157=_0x1f2766;this[_0xf65157(0x1cf)](_0x10625c,_0xf65157(0x1bf),_0x1d0d32);}),this[_0x1f2766(0x1cf)](_0x2a1ffb[_0x1f2766(0x1d3)],_0x1f2766(0x1de),(_0x22cd9d,_0x523424)=>{const _0x52fb36=_0x1f2766;this[_0x52fb36(0x1ff)](_0x523424,_0x52fb36(0x1bf),_0x1d0d32);});}[_0x20c133(0x1e3)](_0x44db52){const _0x4a1d2b=_0x20c133,_0x3b3360=this[_0x4a1d2b(0x1e2)][_0x4a1d2b(0x1fb)][_0x4a1d2b(0x1ce)](_0x4a1d2b(0x1c8)),_0x54f826=[...this[_0x4a1d2b(0x1e2)][_0x4a1d2b(0x1cd)][_0x4a1d2b(0x1ce)](_0x1e5a42)[_0x4a1d2b(0x1d9)]][_0x4a1d2b(0x1eb)](_0x1ef0da=>_0x1ef0da[_0x4a1d2b(0x1e4)]===_0x3b3360)[_0x4a1d2b(0x1f2)](_0x45353e=>_0x45353e[_0x4a1d2b(0x1c5)]<_0x44db52);return _0x54f826<0x0||_0x54f826>this[_0x4a1d2b(0x1ca)][_0x4a1d2b(0x1d8)]?this[_0x4a1d2b(0x1ca)][_0x4a1d2b(0x1d8)]:_0x54f826-0x1;}[_0x20c133(0x1c9)](){const _0x367167=_0x20c133,_0x3d218c=this[_0x367167(0x1e2)],_0x599486=_0x3d218c[_0x367167(0x1cd)][_0x367167(0x1ce)](_0x367167(0x1df));this[_0x367167(0x1fd)]||(this[_0x367167(0x1fd)]=new _0x636fd0(_0x3d218c[_0x367167(0x1c7)],this[_0x367167(0x1ca)])),_0x367167(0x201)===_0x599486['id']?_0x599486[_0x367167(0x200)]():_0x599486[_0x367167(0x1c6)]({'id':_0x367167(0x201),'title':_0x53d637(_0x3d218c[_0x367167(0x1c7)],_0x367167(0x1e6)),'icon':_0xe4e005,'hasCloseButton':!0x0,'content':this[_0x367167(0x1fd)],'position':_0x28880c[_0x367167(0x1d4)]});}[_0x20c133(0x1d7)](_0x4c7e03,_0x4ea01e=!0x1){const _0x50a9e0=_0x20c133,_0x5e3349=this[_0x50a9e0(0x1e2)][_0x50a9e0(0x1c7)],_0x257e51=this[_0x50a9e0(0x1e2)][_0x50a9e0(0x1cd)][_0x50a9e0(0x1ce)](_0x50a9e0(0x1df)),_0x4de675=new _0x4c7e03(_0x5e3349);return _0x4de675[_0x50a9e0(0x1d1)](_0x50a9e0(0x1e8))['to'](this,_0x50a9e0(0x1e8)),_0x4de675[_0x50a9e0(0x1d1)](_0x50a9e0(0x1d2))['to'](_0x257e51,'id',_0xcea63c=>_0x50a9e0(0x201)===_0xcea63c),_0x4de675[_0x50a9e0(0x1fc)]({'label':_0x53d637(_0x5e3349,_0x50a9e0(0x1e6)),'icon':_0xe4e005,'isToggleable':!0x0}),_0x4ea01e&&(_0x4de675[_0x50a9e0(0x1e5)]=!0x0),this[_0x50a9e0(0x1cf)](_0x4de675,_0x50a9e0(0x203),()=>this[_0x50a9e0(0x1c9)]()),_0x4de675;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4adbcc=_0x2aca;(function(_0x374cfa,_0x2942d8){const _0x371326=_0x2aca,_0x5bd4c6=_0x374cfa();while(!![]){try{const _0x4d2e06=-parseInt(_0x371326(0x90))/0x1+-parseInt(_0x371326(0x9c))/0x2*(parseInt(_0x371326(0x8f))/0x3)+parseInt(_0x371326(0xec))/0x4*(parseInt(_0x371326(0x98))/0x5)+-parseInt(_0x371326(0x9d))/0x6+parseInt(_0x371326(0xf1))/0x7*(-parseInt(_0x371326(0xa7))/0x8)+parseInt(_0x371326(0xab))/0x9*(parseInt(_0x371326(0xf4))/0xa)+parseInt(_0x371326(0x9b))/0xb*(parseInt(_0x371326(0x9e))/0xc);if(_0x4d2e06===_0x2942d8)break;else _0x5bd4c6['push'](_0x5bd4c6['shift']());}catch(_0x179c2f){_0x5bd4c6['push'](_0x5bd4c6['shift']());}}}(_0x2967,0x70e90));import{Plugin as _0x35de17}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x18ccec,scrollViewportToShowTarget as _0x1b1d95}from'ckeditor5/src/utils.js';import _0x2bddc4 from'./commentsrepository.js';import _0xf88863 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2b92cf,getAllMarkersDomElementsSorted as _0x116eca,FOCUS_ANNOTATION_KEYSTROKE as _0x16a9b5,Users as _0x45e335}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5a0192 from'../annotations/editorannotations.js';import _0x79ec65 from'./integrations/commentsrestrictededitingmode.js';import _0x501b05 from'./integrations/importword.js';import _0x3347b4 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x2967(){const _0x1b40b4=['editingDowncast','change','3082130fsWunx','editor','isThreadsLoadingPaused','ENTER_COMMENT_ANNOUNCEMENT','then','once','plugins','collaboration.channelId','consume','$textProxy','getCommentThreads','getAttribute','getItems','model','getWalker','markerToHighlight','hasContent','_attachArchivedThread','activeMarker','attachTo','push','focus','setContext','render','item','createPositionBefore','CommentsEditing','_handleMarkerAddAndRemove','view','getCommentThread','_initializeMarkerConverters','init','upcast','removeCommentThread','config','for','isResolved','switchReadOnly','requires','set','get','commands','_attachMarkerToThread','affectsData','isObject','_initAriaMarkerChangeAnnouncements','markerName','schema','from','openNewCommentThread','dataToMarker','isEqual','isCollapsed','getRange','getChangedMarkers','820707EIhrqw','719565QJHwTH','destroy','listenTo','isAttached','conversion','isOfficialPlugin','_reconvertMarkers','add','81790uurbud','differ','removeMarker','5181KMvWpP','4yICvIV','741012YrqgrH','37044vpEfaV','delete','first','split','$graveyard','addMarker:','pluginName','_getTextContext','addComment','920008dVdqyA','unlinkedAt','resolveCommentThread','ignoreResolvedComments','27hfhnmV','refreshVisibility','locale','consumable','reopenCommentThread','clear','ready','ck-comment-marker--active','updateMarker','comments','text','end','LEAVE_COMMENT_ANNOUNCEMENT','state','comment:','addCommentThread','markers','getAllMarkersForId','change:isThreadsLoadingPaused','announce','root','elementToElement','_hasTargetInContent','substring','context','newRange','hasCommentThread','document','getByInnerView','managedUsingOperations','comment','_threads','data','rootName','hasMarkerForId','setUnlinkedAt','_detachCommentThread','editing','length','ariaLiveAnnouncer','_threadToController','enqueueChange','start','fetchCommentThread','hasDomSelection','ck-comment-marker','_getTargetForId','$marker','size','startsWith','change:activeMarker','isPremiumPlugin','createRange','change:isReadOnly','registerPostFixer','low','author','createElement','registerAnnotation','name','dataDowncast','markerToData','isLocal','removeMarker:','scrollToThreadMarker','12lNrhbz','reconvertMarker','_handleThreadMarker','destroyed','group','35IfRrVl'];_0x2967=function(){return _0x1b40b4;};return _0x2967();}import _0x427115 from'../annotations/annotations.js';import{getTranslation as _0x577128}from'../utils/common-translations.js';export default class r extends _0x35de17{static get[_0x4adbcc(0x11a)](){return[_0x2bddc4,_0x5a0192,_0x45e335,_0x79ec65,_0x501b05,_0x3347b4];}static get[_0x4adbcc(0xa4)](){const _0x3e3b7e=_0x4adbcc;return _0x3e3b7e(0x10e);}static get[_0x4adbcc(0x95)](){return!0x0;}static get[_0x4adbcc(0xde)](){return!0x0;}constructor(_0x19c35d){const _0x1afa7e=_0x4adbcc;super(_0x19c35d),this[_0x1afa7e(0x11b)](_0x1afa7e(0xf6),!0x0),_0x19c35d[_0x1afa7e(0xcb)][_0x1afa7e(0xf9)](_0x1afa7e(0xb1),()=>this[_0x1afa7e(0xf6)]=!0x1),this[_0x1afa7e(0x11b)](_0x1afa7e(0x106),null),this['on'](_0x1afa7e(0xdd),(_0x2ecefb,_0x2b4df8,_0x24a729,_0x321281)=>{const _0x6adc13=_0x1afa7e,_0x16de1c=_0x24a729?splitMarkerName(_0x24a729)['id']:null;if(_0x19c35d[_0x6adc13(0x101)][_0x6adc13(0xf3)](()=>{const _0xaada66=_0x6adc13;if(_0x16de1c){const _0x48f17a=this[_0xaada66(0xbc)](_0x16de1c);for(const _0x5a0ffe of _0x48f17a)_0x19c35d[_0xaada66(0xd0)][_0xaada66(0xed)](_0x5a0ffe);}if(_0x321281){const {id:_0xf5b89e}=splitMarkerName(_0x321281),_0x3ca466=this[_0xaada66(0xbc)](_0xf5b89e);for(const _0x20a650 of _0x3ca466)_0x19c35d[_0xaada66(0xd0)][_0xaada66(0xed)](_0x20a650);}}),_0x16de1c){const _0xed2805=_0x19c35d[_0x6adc13(0xfa)][_0x6adc13(0x11c)](_0x2bddc4)[_0x6adc13(0x111)](_0x16de1c);_0xed2805&&_0xed2805[_0x6adc13(0x118)]&&this[_0x6adc13(0xeb)](_0x16de1c);}}),this[_0x1afa7e(0x121)]();}[_0x4adbcc(0x113)](){const _0x3486ff=_0x4adbcc,_0x14517a=this[_0x3486ff(0xf5)],_0x395f5f=_0x14517a[_0x3486ff(0xfa)][_0x3486ff(0x11c)](_0x2bddc4),_0x57a1df=_0x14517a[_0x3486ff(0x116)][_0x3486ff(0x11c)](_0x3486ff(0xfb));_0x14517a[_0x3486ff(0x11d)][_0x3486ff(0x97)](_0x3486ff(0xba),new _0xf88863(_0x14517a)),this[_0x3486ff(0x92)](_0x14517a,_0x3486ff(0xe0),(_0x32f53e,_0x45d417,_0x5ca8ac)=>{const _0x5484cd=_0x3486ff;_0x395f5f[_0x5484cd(0x119)](_0x5ca8ac,_0x14517a[_0x5484cd(0x116)][_0x5484cd(0x11c)](_0x5484cd(0xfb)));}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xba),_0x57a1df),(_0x3ab238,{threadId:_0x133732})=>{const _0x51e543=_0x3486ff,_0x3d2903=this[_0x51e543(0xf5)][_0x51e543(0xfa)][_0x51e543(0x11c)](_0x2bddc4)[_0x51e543(0x111)](_0x133732);_0x3d2903&&_0x3d2903[_0x51e543(0xa8)]&&this[_0x51e543(0x105)](_0x133732);}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0x115),_0x57a1df),(_0x3de14d,{threadId:_0x17df66})=>{const _0x31c580=_0x3486ff;_0x14517a[_0x31c580(0x101)][_0x31c580(0xd4)]({'isUndoable':!0x1},_0x115748=>{const _0x18424d=_0x31c580,_0xc4bff=this[_0x18424d(0xbc)](_0x17df66);for(const _0x3ef9a6 of _0xc4bff)_0x115748[_0x18424d(0x9a)](_0x3ef9a6);});}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xa9),_0x57a1df),(_0x518e11,{threadId:_0x2f7110})=>{const _0x2894e2=_0x3486ff;(this[_0x2894e2(0x96)](_0x2f7110),this[_0x2894e2(0xf5)][_0x2894e2(0xd0)][_0x2894e2(0x110)][_0x2894e2(0xd7)])&&(this[_0x2894e2(0xf5)][_0x2894e2(0xfa)][_0x2894e2(0x11c)](_0x2bddc4)[_0x2894e2(0x111)](_0x2f7110)[_0x2894e2(0xa8)]||this[_0x2894e2(0xf5)][_0x2894e2(0xd0)][_0x2894e2(0x110)][_0x2894e2(0x109)]());},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xaf),_0x57a1df),(_0x432c95,{threadId:_0xa23247})=>{const _0x5a4bae=_0x3486ff;this[_0x5a4bae(0x96)](_0xa23247);},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xa6),_0x57a1df),(_0x2cad9d,{threadId:_0x1d15b4,isFromAdapter:_0x4e1008})=>{const _0xc1e3a7=_0x3486ff,_0x23f120=this[_0xc1e3a7(0xbc)](_0x1d15b4);if(_0x4e1008||0x0==_0x23f120[_0xc1e3a7(0xd1)]||!_0x395f5f[_0xc1e3a7(0xc5)](_0x1d15b4))return;0x1===_0x395f5f[_0xc1e3a7(0x111)](_0x1d15b4)[_0xc1e3a7(0xd1)]&&_0x14517a[_0xc1e3a7(0x101)][_0xc1e3a7(0xd4)]({'isUndoable':!0x1},_0x40524c=>{const _0x3b08e8=_0xc1e3a7;for(const _0x2034a5 of _0x23f120)_0x40524c[_0x3b08e8(0xb3)](_0x2034a5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x112)](),this[_0x3486ff(0x10f)]();}[_0x4adbcc(0x91)](){const _0x34e71f=_0x4adbcc,_0x432a1a=this[_0x34e71f(0xf5)][_0x34e71f(0xfa)][_0x34e71f(0x11c)](_0x2bddc4),_0x28f3b1=this[_0x34e71f(0xf5)][_0x34e71f(0x116)][_0x34e71f(0x11c)](_0x34e71f(0xfb));for(const _0x4f40f9 of _0x432a1a[_0x34e71f(0xfe)]({'channelId':_0x28f3b1}))_0x432a1a[_0x34e71f(0xcf)](_0x4f40f9['id']),_0x432a1a[_0x34e71f(0xca)][_0x34e71f(0x9f)](_0x4f40f9['id']);super[_0x34e71f(0x91)]();}[_0x4adbcc(0xcd)](_0x4efc53){const _0x4cad96=_0x4adbcc;return this[_0x4cad96(0xbc)](_0x4efc53)[_0x4cad96(0xd1)]>0x0;}[_0x4adbcc(0xbc)](_0x304695){const _0x4279c9=_0x4adbcc,_0x187236=[];for(const _0x15d76a of this[_0x4279c9(0xf5)][_0x4279c9(0x101)][_0x4279c9(0xbb)])_0x15d76a[_0x4279c9(0xe6)][_0x4279c9(0xdc)](_0x4279c9(0xb9)+_0x304695)&&_0x187236[_0x4279c9(0x108)](_0x15d76a);return _0x187236;}[_0x4adbcc(0xeb)](_0x4d801f){const _0x2369c5=_0x4adbcc,_0x251b69=this[_0x2369c5(0xd9)](_0x4d801f);_0x251b69&&setTimeout(()=>{const _0x368c7=_0x2369c5;this[_0x368c7(0x106)]&&splitMarkerName(this[_0x368c7(0x106)])['id']===_0x4d801f&&_0x1b1d95({'target':_0x251b69[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4adbcc(0x96)](_0x1a245d){const _0xd05abe=_0x4adbcc;this[_0xd05abe(0xf5)][_0xd05abe(0x101)][_0xd05abe(0xf3)](()=>{const _0x265220=_0xd05abe;for(const _0x225097 of this[_0x265220(0xbc)](_0x1a245d))this[_0x265220(0xf5)][_0x265220(0xd0)][_0x265220(0xed)](_0x225097);});}[_0x4adbcc(0x105)](_0x3cf123){const _0x28a69a=_0x4adbcc,_0x542baa=this[_0x28a69a(0xf5)][_0x28a69a(0xfa)][_0x28a69a(0x11c)](_0x2bddc4),_0x59a300=this[_0x28a69a(0xf5)][_0x28a69a(0xfa)][_0x28a69a(0x11c)](_0x5a0192),_0x3faddb=_0x542baa[_0x28a69a(0x111)](_0x3cf123);if(!_0x3faddb[_0x28a69a(0x93)]){const _0x145eea=_0x3faddb[_0x28a69a(0x107)](()=>this[_0x28a69a(0xd9)](_0x3faddb['id']));_0x59a300[_0x28a69a(0xe5)](_0x145eea),_0x3faddb[_0x28a69a(0xc1)]=!0x1;}}[_0x4adbcc(0x112)](){const _0x3c7ef1=_0x4adbcc,_0xe96b4=this[_0x3c7ef1(0xf5)],_0x326ea0=_0xe96b4[_0x3c7ef1(0xfa)][_0x3c7ef1(0x11c)](_0x45e335);_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0xf2))[_0x3c7ef1(0x103)]({'model':_0x3c7ef1(0xc9),'view':(_0xdd51b5,_0x2077fc)=>{const _0x3e1a64=_0x3c7ef1,{id:_0x313804}=splitMarkerName(_0xdd51b5[_0x3e1a64(0x122)]),_0x54d8e3=_0xe96b4[_0x3e1a64(0xfa)][_0x3e1a64(0x11c)](_0x2bddc4)[_0x3e1a64(0x111)](_0x313804),_0x295f6f=this[_0x3e1a64(0x106)]&&splitMarkerName(this[_0x3e1a64(0x106)])['id']===_0x313804;let _0x5a57da;if(_0x54d8e3&&_0x54d8e3[_0x3e1a64(0x118)]&&!_0x295f6f&&_0xdd51b5[_0x3e1a64(0x10c)])return _0x2077fc[_0x3e1a64(0xae)][_0x3e1a64(0xfc)](_0xdd51b5[_0x3e1a64(0x10c)],_0x3e1a64(0xa3)+_0xdd51b5[_0x3e1a64(0x122)]),_0x2077fc[_0x3e1a64(0xae)][_0x3e1a64(0xfc)](_0xdd51b5[_0x3e1a64(0x10c)],_0x3e1a64(0xea)+_0xdd51b5[_0x3e1a64(0x122)]),null;const _0x670829=[_0x3e1a64(0xd8)];return _0x295f6f&&_0x670829[_0x3e1a64(0x108)](_0x3e1a64(0xb2)),_0x5a57da=_0x54d8e3&&_0x54d8e3[_0x3e1a64(0xd1)]?_0x54d8e3[_0x3e1a64(0xb4)][_0x3e1a64(0xa0)][_0x3e1a64(0xe3)]['id']:_0x326ea0['me']['id'],{'classes':_0x670829,'attributes':{'data-comment':_0x313804,'data-author-id':_0x5a57da}};}}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0xe7))[_0x3c7ef1(0xe8)]({'model':_0x3c7ef1(0xc9),'view':(_0x185187,{options:_0x3b2ae8})=>{const _0x3d5afd=_0x3c7ef1,_0x3abb8c=_0xe96b4[_0x3d5afd(0xfa)][_0x3d5afd(0x11c)](_0x2bddc4),_0x302b0e=_0xe96b4[_0x3d5afd(0x101)][_0x3d5afd(0xbb)][_0x3d5afd(0x11c)](_0x185187),{id:_0x475967,part:_0x1f04c7}=splitMarkerName(_0x185187);if(_0x302b0e&&!_0x302b0e[_0x3d5afd(0x11f)])return null;if(_0x3b2ae8[_0x3d5afd(0xaa)]){const _0x4f120d=_0x3abb8c[_0x3d5afd(0x111)](_0x475967);if(_0x4f120d&&_0x4f120d[_0x3d5afd(0x118)])return null;}return{'group':_0x3d5afd(0xc9),'name':_0x1f04c7?_0x475967+':'+_0x1f04c7:_0x475967};}}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0x114))[_0x3c7ef1(0xc0)]({'view':{'name':_0x3c7ef1(0xc9),'attributes':{'id':/^\w/}},'model':(_0x1059bb,{writer:_0x486563})=>_0x486563[_0x3c7ef1(0xe4)](_0x3c7ef1(0xda),{'data-name':_0x3c7ef1(0xb9)+_0x1059bb[_0x3c7ef1(0xff)]('id')})}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0x114))[_0x3c7ef1(0x126)]({'view':_0x3c7ef1(0xc9)});}[_0x4adbcc(0x10f)](){const _0x2e2549=_0x4adbcc,_0x1f7443=this[_0x2e2549(0xf5)],_0x47f20d=_0x1f7443[_0x2e2549(0xfa)][_0x2e2549(0x11c)](_0x2bddc4),_0x164612=new Set(),_0x165fb0=new Set();_0x1f7443[_0x2e2549(0x101)][_0x2e2549(0xc6)][_0x2e2549(0xe1)](_0x32859c=>{const _0x430ee2=_0x2e2549;let _0x59bcdd=!0x1;for(const {name:_0x485018,data:_0x493c1d}of _0x1f7443[_0x430ee2(0x101)][_0x430ee2(0xc6)][_0x430ee2(0x99)][_0x430ee2(0x12a)]()){const {group:_0x507258,id:_0x46e807}=splitMarkerName(_0x485018);let _0x55b8a5=_0x493c1d[_0x430ee2(0xc4)];if(_0x430ee2(0xc9)!==_0x507258||!_0x55b8a5)continue;const _0x1fcf0c=_0x430ee2(0xa2)===_0x55b8a5[_0x430ee2(0xbf)][_0x430ee2(0xcc)];_0x1fcf0c||(_0x55b8a5=dt(_0x55b8a5,_0x1f7443[_0x430ee2(0x101)]),!_0x55b8a5||_0x55b8a5[_0x430ee2(0x128)]||!_0x493c1d[_0x430ee2(0xc4)]||_0x55b8a5[_0x430ee2(0x127)](_0x493c1d[_0x430ee2(0xc4)]))?_0x1f7443[_0x430ee2(0x101)][_0x430ee2(0x104)](_0x55b8a5)&&!_0x1fcf0c?this[_0x430ee2(0xf6)]?_0x164612[_0x430ee2(0x97)](_0x485018):this[_0x430ee2(0xee)](_0x485018,_0x46e807):(_0x165fb0[_0x430ee2(0x97)](_0x485018),_0x164612[_0x430ee2(0x9f)](_0x485018),_0x32859c[_0x430ee2(0x9a)](_0x485018),_0x59bcdd=!0x0):(_0x32859c[_0x430ee2(0xb3)](_0x485018,{'range':_0x55b8a5}),_0x59bcdd=!0x0);}return _0x59bcdd;}),this['on'](_0x2e2549(0xbd),(_0x535515,_0x56c963,_0x54e1da)=>{const _0x1f1c69=_0x2e2549;if(!_0x54e1da&&_0x164612[_0x1f1c69(0xdb)])for(const _0x570730 of _0x164612){const {id:_0x3f339}=splitMarkerName(_0x570730);_0x164612[_0x1f1c69(0x9f)](_0x570730),_0x1f7443[_0x1f1c69(0x101)][_0x1f1c69(0xbb)][_0x1f1c69(0x11c)](_0x570730)&&this[_0x1f1c69(0xee)](_0x570730,_0x3f339);}}),this[_0x2e2549(0x92)](_0x1f7443[_0x2e2549(0x101)][_0x2e2549(0xc6)],_0x2e2549(0xf3),(_0x3c5c67,_0xb5edeb)=>{const _0x5a4a2d=_0x2e2549;for(const {name:_0xf48c1d,data:{newRange:_0x10ccab}}of _0x1f7443[_0x5a4a2d(0x101)][_0x5a4a2d(0xc6)][_0x5a4a2d(0x99)][_0x5a4a2d(0x12a)]()){const {group:_0x3803b9,id:_0x329c51}=splitMarkerName(_0xf48c1d);if(_0x5a4a2d(0xc9)!==_0x3803b9)continue;const _0x2144dd=_0x47f20d[_0x5a4a2d(0x111)](_0x329c51),_0x4de75e=this[_0x5a4a2d(0xcd)](_0x329c51);_0x2144dd&&(!_0x2144dd[_0x5a4a2d(0xc1)]&&_0x10ccab&&_0x1f7443[_0x5a4a2d(0xd0)][_0x5a4a2d(0x110)][_0x5a4a2d(0xf9)](_0x5a4a2d(0x10b),()=>{const _0x52b722=_0x5a4a2d,_0x1ab908=_0x1f7443[_0x52b722(0xfa)][_0x52b722(0x11c)](_0x427115),_0x4509a8=_0x47f20d[_0x52b722(0xd3)][_0x52b722(0x11c)](_0x2144dd)[_0x52b722(0x110)];_0x1ab908[_0x52b722(0xc7)](_0x4509a8)[_0x52b722(0xac)]();},{'priority':_0x5a4a2d(0xe2)}),_0x2144dd[_0x5a4a2d(0xc1)]=_0x4de75e||!!_0x10ccab),_0x10ccab||(_0x165fb0[_0x5a4a2d(0x97)](_0xf48c1d),_0x164612[_0x5a4a2d(0x9f)](_0xf48c1d));}if(_0xb5edeb[_0x5a4a2d(0xe9)])for(const _0x46c235 of _0x165fb0){const {id:_0x4a828b}=splitMarkerName(_0x46c235),_0x3f3dac=_0x47f20d[_0x5a4a2d(0x111)](_0x4a828b),_0x245e63=this[_0x5a4a2d(0xcd)](_0x4a828b);_0x164612[_0x5a4a2d(0x9f)](_0x46c235),!_0x3f3dac||_0x245e63||_0x3f3dac[_0x5a4a2d(0xa8)]||_0x3f3dac[_0x5a4a2d(0xce)](new Date());}_0x165fb0[_0x5a4a2d(0xb0)]();});}[_0x4adbcc(0xd9)](_0x27047d){const _0x2e591f=_0x4adbcc,_0x1a88ec=this[_0x2e591f(0xf5)],_0x365544=this[_0x2e591f(0xbc)](_0x27047d);return _0x116eca(_0x1a88ec[_0x2e591f(0xd0)],_0x365544);}[_0x4adbcc(0xa5)](_0x5968d6){const _0x24b5de=_0x4adbcc,_0x7fcf0b=this[_0x24b5de(0xbc)](_0x5968d6);let _0x390721='',_0x27a095=!0x1;for(const _0x33092e of _0x7fcf0b){const _0x53a262=_0x33092e[_0x24b5de(0x129)]();for(const _0x4fd974 of Array[_0x24b5de(0x124)](_0x53a262[_0x24b5de(0x100)]()))_0x4fd974['is'](_0x24b5de(0xfd))?(_0x390721&&_0x27a095&&(_0x390721+='\x20',_0x27a095=!0x1),_0x390721+=_0x4fd974[_0x24b5de(0xcb)]):_0x27a095=!0x0;_0x27a095=!0x0;}return _0x390721[_0x24b5de(0xc2)](0x0,0x96);}[_0x4adbcc(0x11e)](_0x12b334,_0x5240ce){const _0x3ed7e9=_0x4adbcc,_0x15cf6b=this[_0x3ed7e9(0xf5)],_0x57cb9a=_0x15cf6b[_0x3ed7e9(0xfa)][_0x3ed7e9(0x11c)](_0x2bddc4);let _0x389238=_0x57cb9a[_0x3ed7e9(0x111)](_0x5240ce);const _0x18e11a=_0x15cf6b[_0x3ed7e9(0x116)][_0x3ed7e9(0x11c)](_0x3ed7e9(0xfb)),_0x5f4b04=_0x15cf6b[_0x3ed7e9(0xfa)][_0x3ed7e9(0x11c)](_0x5a0192);if(_0x389238&&(_0x389238[_0x3ed7e9(0xa8)]&&_0x389238[_0x3ed7e9(0xce)](null),_0x389238[_0x3ed7e9(0x93)]))return _0x389238;return!this[_0x3ed7e9(0xbc)](_0x5240ce)[0x0][_0x3ed7e9(0xc8)]?_0x15cf6b[_0x3ed7e9(0xd0)][_0x3ed7e9(0x110)][_0x3ed7e9(0xf9)](_0x3ed7e9(0x10b),()=>{const _0x2f57cb=_0x3ed7e9;if(_0x57cb9a[_0x2f57cb(0x111)](_0x5240ce))return;const _0x4bd4e7=_0x15cf6b[_0x2f57cb(0xfa)][_0x2f57cb(0x11c)](_0x427115);_0x389238=_0x57cb9a[_0x2f57cb(0x125)]({'channelId':_0x18e11a,'threadId':_0x5240ce,'target':()=>this[_0x2f57cb(0xd9)](_0x5240ce),'context':{'type':_0x2f57cb(0xb5),'value':this[_0x2f57cb(0xa5)](_0x5240ce)}});const _0x101554=_0x57cb9a[_0x2f57cb(0xd3)][_0x2f57cb(0x11c)](_0x389238)[_0x2f57cb(0x110)],_0x231104=_0x4bd4e7[_0x2f57cb(0xc7)](_0x101554);_0x231104&&_0x5f4b04[_0x2f57cb(0xe5)](_0x231104);},{'priority':_0x3ed7e9(0xe2)}):_0x57cb9a[_0x3ed7e9(0xd6)]({'channelId':_0x18e11a,'threadId':_0x5240ce})[_0x3ed7e9(0xf8)](_0x497baf=>{const _0x28a132=_0x3ed7e9;if(_0x28a132(0xef)!==_0x15cf6b[_0x28a132(0xb8)]){if(_0x389238=_0x497baf,_0x389238&&!_0x389238[_0x28a132(0x93)]){const _0x399699=_0x389238[_0x28a132(0x107)](()=>this[_0x28a132(0xd9)](_0x5240ce));_0x5f4b04[_0x28a132(0xe5)](_0x399699),_0x389238[_0x28a132(0x118)]&&this[_0x28a132(0x96)](_0x5240ce);}else{if(!_0x389238){const _0x55ba89=this[_0x28a132(0xbc)](_0x5240ce);_0x15cf6b[_0x28a132(0x101)][_0x28a132(0xf3)](_0x12926a=>{const _0x19fc62=_0x28a132;for(const _0x44843b of _0x55ba89)_0x12926a[_0x19fc62(0x9a)](_0x44843b);});}}}}),_0x389238;}[_0x4adbcc(0xee)](_0x245b47,_0x20bc02){const _0x4d1d58=_0x4adbcc,_0x29df02=this[_0x4d1d58(0x11e)](_0x245b47,_0x20bc02);_0x29df02&&!_0x29df02[_0x4d1d58(0xc3)]&&_0x29df02[_0x4d1d58(0x10a)]({'type':_0x4d1d58(0xb5),'value':this[_0x4d1d58(0xa5)](_0x20bc02)});}[_0x4adbcc(0x121)](){const _0x387f9b=_0x4adbcc,_0x1f2561=this[_0x387f9b(0xf5)];_0x2b92cf(_0x1f2561[_0x387f9b(0x101)],({left:_0x3c8084,entered:_0xbdab9e})=>{const _0x3d78b6=_0x387f9b;for(const _0x30c2f5 of _0x3c8084)if(ht(_0x30c2f5)){_0x1f2561['ui'][_0x3d78b6(0xd2)][_0x3d78b6(0xbe)](_0x577128(_0x1f2561[_0x3d78b6(0xad)],_0x3d78b6(0xb7)));break;}for(const _0x5b6f50 of _0xbdab9e)if(ht(_0x5b6f50)){_0x1f2561['ui'][_0x3d78b6(0xd2)][_0x3d78b6(0xbe)](_0x577128(_0x1f2561[_0x3d78b6(0xad)],_0x3d78b6(0xf7),_0x18ccec(_0x16a9b5)));break;}});}}function _0x2aca(_0x20a414,_0x59d936){const _0x296719=_0x2967();return _0x2aca=function(_0x2aca0e,_0x471116){_0x2aca0e=_0x2aca0e-0x8f;let _0x31f6e5=_0x296719[_0x2aca0e];return _0x31f6e5;},_0x2aca(_0x20a414,_0x59d936);}function mt(_0x23df79,_0x3939e7){return _0x3939e7?_0x23df79+':'+_0x3939e7:_0x23df79;}export function splitMarkerName(_0x173634){const _0x25d6ef=_0x4adbcc,_0x10a475=_0x173634[_0x25d6ef(0xa1)](':');return{'group':_0x10a475[0x0],'id':_0x10a475[0x1],'part':_0x10a475[0x2]};}function dt(_0x420226,_0x1e0ce9){const _0x591022=_0x4adbcc,_0x101f64=_0x1e0ce9[_0x591022(0x123)],_0x3ef532=_0x1e0ce9[_0x591022(0xdf)](_0x420226[_0x591022(0xd5)]);for(const _0x435c0b of _0x420226[_0x591022(0x102)]()){const {type:_0x4a3417,item:_0x206e14,nextPosition:_0x3fd839}=_0x435c0b;if(_0x591022(0xb5)===_0x4a3417||_0x101f64[_0x591022(0x120)](_0x206e14)){const _0x2361a8=_0x1e0ce9[_0x591022(0x10d)](_0x206e14);_0x3ef532[_0x591022(0x128)]&&(_0x3ef532[_0x591022(0xd5)]=_0x2361a8),_0x3ef532[_0x591022(0xb6)]=_0x3fd839;}}return _0x3ef532;}function ht(_0x5d7428){const _0x27aade=_0x4adbcc;return _0x27aade(0xc9)===splitMarkerName(_0x5d7428[_0x27aade(0xe6)])[_0x27aade(0xf0)];}
|
|
23
|
+
const _0x2f208a=_0x1970;(function(_0x459545,_0x9e74df){const _0x199166=_0x1970,_0xf8ef35=_0x459545();while(!![]){try{const _0x52719f=-parseInt(_0x199166(0x9d))/0x1+-parseInt(_0x199166(0xf1))/0x2*(-parseInt(_0x199166(0xfd))/0x3)+parseInt(_0x199166(0xfc))/0x4+parseInt(_0x199166(0xd1))/0x5+parseInt(_0x199166(0xa2))/0x6*(-parseInt(_0x199166(0xeb))/0x7)+parseInt(_0x199166(0xf9))/0x8+parseInt(_0x199166(0xd7))/0x9*(-parseInt(_0x199166(0x8a))/0xa);if(_0x52719f===_0x9e74df)break;else _0xf8ef35['push'](_0xf8ef35['shift']());}catch(_0x4fe4f1){_0xf8ef35['push'](_0xf8ef35['shift']());}}}(_0x4bbb,0x83b59));import{Plugin as _0x136f57}from'ckeditor5/src/core.js';function _0x1970(_0x51a80d,_0x5a9c35){const _0x4bbbec=_0x4bbb();return _0x1970=function(_0x19709e,_0x1b5808){_0x19709e=_0x19709e-0x77;let _0x4fbcad=_0x4bbbec[_0x19709e];return _0x4fbcad;},_0x1970(_0x51a80d,_0x5a9c35);}import{getEnvKeystrokeText as _0x126195,scrollViewportToShowTarget as _0x22a4b8}from'ckeditor5/src/utils.js';import _0x193df8 from'./commentsrepository.js';function _0x4bbb(){const _0x1c23b3=['isObject','consumable','schema','unlinkedAt','state','announce','refreshVisibility','split','clear','hasCommentThread','then','createRange','newRange','removeCommentThread','759765MKiCgI','dataDowncast','openNewCommentThread','render','view','for','9gFnaOc','focus','ignoreResolvedComments','get','setUnlinkedAt','destroy','isThreadsLoadingPaused','hasContent','reconvertMarker','isAttached','isOfficialPlugin','markers','differ','hasDomSelection','resolveCommentThread','isLocal','set','getAttribute','editor','consume','35tQHaGL','editing','delete','init','once','isEqual','38XeaVTJ','attachTo','isResolved','switchReadOnly','model','change:isReadOnly','addCommentThread','root','7700128bykmNJ','_handleThreadMarker','LEAVE_COMMENT_ANNOUNCEMENT','3692140QtZfSc','41142ZRkngL','getCommentThreads','removeMarker','isCollapsed','createPositionBefore','hasMarkerForId','isPremiumPlugin','$graveyard','getWalker','push','config','setContext','markerName','getCommentThread','listenTo','getRange','pluginName','data','$textProxy','item','destroyed','comment','_getTargetForId','upcast','commands','markerToData','getByInnerView','substring','rootName','locale','activeMarker','name','length','scrollToThreadMarker','ck-comment-marker','add','addComment','ck-comment-marker--active','_attachMarkerToThread','8275690bvCygV','_threadToController','group','_getTextContext','createElement','low','ready','getAllMarkersForId','ENTER_COMMENT_ANNOUNCEMENT','change:isThreadsLoadingPaused','dataToMarker','_initializeMarkerConverters','$marker','removeMarker:','context','_reconvertMarkers','change','change:activeMarker','_handleMarkerAddAndRemove','194985FjEHVK','affectsData','getItems','document','requires','883242crbAyf','start','plugins','comment:','conversion','_attachArchivedThread','getChangedMarkers','collaboration.channelId','size','end','text','ariaLiveAnnouncer','startsWith','managedUsingOperations','editingDowncast','elementToElement','CommentsEditing','_initAriaMarkerChangeAnnouncements','updateMarker','_threads','registerAnnotation','author','markerToHighlight','from','registerPostFixer','_detachCommentThread','reopenCommentThread','addMarker:','enqueueChange','comments','first','fetchCommentThread','_hasTargetInContent'];_0x4bbb=function(){return _0x1c23b3;};return _0x4bbb();}import _0x8654da from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x42904a,getAllMarkersDomElementsSorted as _0x3c554e,FOCUS_ANNOTATION_KEYSTROKE as _0x1dbb9d,Users as _0x42bc8b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x10cd8b from'../annotations/editorannotations.js';import _0x2328b0 from'./integrations/commentsrestrictededitingmode.js';import _0x46d28b from'./integrations/importword.js';import _0x8364a1 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x99e31c from'../annotations/annotations.js';import{getTranslation as _0x3a597e}from'../utils/common-translations.js';export default class r extends _0x136f57{static get[_0x2f208a(0xa1)](){return[_0x193df8,_0x10cd8b,_0x42bc8b,_0x2328b0,_0x46d28b,_0x8364a1];}static get[_0x2f208a(0x10d)](){const _0x21e553=_0x2f208a;return _0x21e553(0xb2);}static get[_0x2f208a(0xe1)](){return!0x0;}static get[_0x2f208a(0x103)](){return!0x0;}constructor(_0x5ecdad){const _0x21fcf3=_0x2f208a;super(_0x5ecdad),this[_0x21fcf3(0xe7)](_0x21fcf3(0xdd),!0x0),_0x5ecdad[_0x21fcf3(0x10e)][_0x21fcf3(0xef)](_0x21fcf3(0x90),()=>this[_0x21fcf3(0xdd)]=!0x1),this[_0x21fcf3(0xe7)](_0x21fcf3(0x81),null),this['on'](_0x21fcf3(0x9b),(_0x473833,_0x5234de,_0x7ded57,_0x57c247)=>{const _0x4c54ef=_0x21fcf3,_0x2518ee=_0x7ded57?splitMarkerName(_0x7ded57)['id']:null;if(_0x5ecdad[_0x4c54ef(0xf5)][_0x4c54ef(0x9a)](()=>{const _0x2492d3=_0x4c54ef;if(_0x2518ee){const _0x399f37=this[_0x2492d3(0x91)](_0x2518ee);for(const _0x290192 of _0x399f37)_0x5ecdad[_0x2492d3(0xec)][_0x2492d3(0xdf)](_0x290192);}if(_0x57c247){const {id:_0x129f15}=splitMarkerName(_0x57c247),_0x202ad2=this[_0x2492d3(0x91)](_0x129f15);for(const _0x2ccf33 of _0x202ad2)_0x5ecdad[_0x2492d3(0xec)][_0x2492d3(0xdf)](_0x2ccf33);}}),_0x2518ee){const _0x235180=_0x5ecdad[_0x4c54ef(0xa4)][_0x4c54ef(0xda)](_0x193df8)[_0x4c54ef(0x10a)](_0x2518ee);_0x235180&&_0x235180[_0x4c54ef(0xf3)]&&this[_0x4c54ef(0x84)](_0x2518ee);}}),this[_0x21fcf3(0xb3)]();}[_0x2f208a(0xee)](){const _0x3302b9=_0x2f208a,_0x205beb=this[_0x3302b9(0xe9)],_0x1398c8=_0x205beb[_0x3302b9(0xa4)][_0x3302b9(0xda)](_0x193df8),_0x587afa=_0x205beb[_0x3302b9(0x107)][_0x3302b9(0xda)](_0x3302b9(0xa9));_0x205beb[_0x3302b9(0x7b)][_0x3302b9(0x86)](_0x3302b9(0xf7),new _0x8654da(_0x205beb)),this[_0x3302b9(0x10b)](_0x205beb,_0x3302b9(0xf6),(_0x434bb4,_0x4e4c20,_0x23e233)=>{const _0x4b8ea7=_0x3302b9;_0x1398c8[_0x4b8ea7(0xf4)](_0x23e233,_0x205beb[_0x4b8ea7(0x107)][_0x4b8ea7(0xda)](_0x4b8ea7(0xa9)));}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xf7),_0x587afa),(_0x1eb052,{threadId:_0x5d6929})=>{const _0x117a19=_0x3302b9,_0x224263=this[_0x117a19(0xe9)][_0x117a19(0xa4)][_0x117a19(0xda)](_0x193df8)[_0x117a19(0x10a)](_0x5d6929);_0x224263&&_0x224263[_0x117a19(0xc6)]&&this[_0x117a19(0xa7)](_0x5d6929);}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xd0),_0x587afa),(_0x461bb3,{threadId:_0x3d0f5f})=>{const _0x302a37=_0x3302b9;_0x205beb[_0x302a37(0xf5)][_0x302a37(0xbe)]({'isUndoable':!0x1},_0x2a23af=>{const _0x42fda3=_0x302a37,_0x320647=this[_0x42fda3(0x91)](_0x3d0f5f);for(const _0x321568 of _0x320647)_0x2a23af[_0x42fda3(0xff)](_0x321568);});}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xe5),_0x587afa),(_0x5a4405,{threadId:_0x16ba69})=>{const _0x2b4a58=_0x3302b9;(this[_0x2b4a58(0x99)](_0x16ba69),this[_0x2b4a58(0xe9)][_0x2b4a58(0xec)][_0x2b4a58(0xd5)][_0x2b4a58(0xe4)])&&(this[_0x2b4a58(0xe9)][_0x2b4a58(0xa4)][_0x2b4a58(0xda)](_0x193df8)[_0x2b4a58(0x10a)](_0x16ba69)[_0x2b4a58(0xc6)]||this[_0x2b4a58(0xe9)][_0x2b4a58(0xec)][_0x2b4a58(0xd5)][_0x2b4a58(0xd8)]());},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xbc),_0x587afa),(_0x2311b8,{threadId:_0x522b63})=>{const _0x39f870=_0x3302b9;this[_0x39f870(0x99)](_0x522b63);},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0x87),_0x587afa),(_0x2d98e1,{threadId:_0x18587b,isFromAdapter:_0x2c8b0a})=>{const _0x208241=_0x3302b9,_0x5218d9=this[_0x208241(0x91)](_0x18587b);if(_0x2c8b0a||0x0==_0x5218d9[_0x208241(0x83)]||!_0x1398c8[_0x208241(0xcc)](_0x18587b))return;0x1===_0x1398c8[_0x208241(0x10a)](_0x18587b)[_0x208241(0x83)]&&_0x205beb[_0x208241(0xf5)][_0x208241(0xbe)]({'isUndoable':!0x1},_0x41fde9=>{const _0x6d8ac2=_0x208241;for(const _0x4439ed of _0x5218d9)_0x41fde9[_0x6d8ac2(0xb4)](_0x4439ed,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x95)](),this[_0x3302b9(0x9c)]();}[_0x2f208a(0xdc)](){const _0x12a3d5=_0x2f208a,_0x43c183=this[_0x12a3d5(0xe9)][_0x12a3d5(0xa4)][_0x12a3d5(0xda)](_0x193df8),_0x167384=this[_0x12a3d5(0xe9)][_0x12a3d5(0x107)][_0x12a3d5(0xda)](_0x12a3d5(0xa9));for(const _0xcf4703 of _0x43c183[_0x12a3d5(0xfe)]({'channelId':_0x167384}))_0x43c183[_0x12a3d5(0xbb)](_0xcf4703['id']),_0x43c183[_0x12a3d5(0xb5)][_0x12a3d5(0xed)](_0xcf4703['id']);super[_0x12a3d5(0xdc)]();}[_0x2f208a(0x102)](_0x2539f5){const _0x551a23=_0x2f208a;return this[_0x551a23(0x91)](_0x2539f5)[_0x551a23(0x83)]>0x0;}[_0x2f208a(0x91)](_0x10dd4c){const _0x42a5c2=_0x2f208a,_0x5d35e0=[];for(const _0xe03738 of this[_0x42a5c2(0xe9)][_0x42a5c2(0xf5)][_0x42a5c2(0xe2)])_0xe03738[_0x42a5c2(0x82)][_0x42a5c2(0xae)](_0x42a5c2(0xa5)+_0x10dd4c)&&_0x5d35e0[_0x42a5c2(0x106)](_0xe03738);return _0x5d35e0;}[_0x2f208a(0x84)](_0x267993){const _0x456247=_0x2f208a,_0x27b2eb=this[_0x456247(0x79)](_0x267993);_0x27b2eb&&setTimeout(()=>{const _0x11cdfd=_0x456247;this[_0x11cdfd(0x81)]&&splitMarkerName(this[_0x11cdfd(0x81)])['id']===_0x267993&&_0x22a4b8({'target':_0x27b2eb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2f208a(0x99)](_0x4725a6){const _0xdc8f90=_0x2f208a;this[_0xdc8f90(0xe9)][_0xdc8f90(0xf5)][_0xdc8f90(0x9a)](()=>{const _0x2303d2=_0xdc8f90;for(const _0x2c10c3 of this[_0x2303d2(0x91)](_0x4725a6))this[_0x2303d2(0xe9)][_0x2303d2(0xec)][_0x2303d2(0xdf)](_0x2c10c3);});}[_0x2f208a(0xa7)](_0x89804e){const _0x37fcd5=_0x2f208a,_0x42b550=this[_0x37fcd5(0xe9)][_0x37fcd5(0xa4)][_0x37fcd5(0xda)](_0x193df8),_0x219d52=this[_0x37fcd5(0xe9)][_0x37fcd5(0xa4)][_0x37fcd5(0xda)](_0x10cd8b),_0x48e544=_0x42b550[_0x37fcd5(0x10a)](_0x89804e);if(!_0x48e544[_0x37fcd5(0xe0)]){const _0x35705f=_0x48e544[_0x37fcd5(0xf2)](()=>this[_0x37fcd5(0x79)](_0x48e544['id']));_0x219d52[_0x37fcd5(0xb6)](_0x35705f),_0x48e544[_0x37fcd5(0xc2)]=!0x1;}}[_0x2f208a(0x95)](){const _0x2f6720=_0x2f208a,_0x12abd0=this[_0x2f6720(0xe9)],_0xce9efd=_0x12abd0[_0x2f6720(0xa4)][_0x2f6720(0xda)](_0x42bc8b);_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0xb0))[_0x2f6720(0xb8)]({'model':_0x2f6720(0x78),'view':(_0x31c87c,_0x3b5669)=>{const _0x23cb3c=_0x2f6720,{id:_0x44809b}=splitMarkerName(_0x31c87c[_0x23cb3c(0x109)]),_0x342018=_0x12abd0[_0x23cb3c(0xa4)][_0x23cb3c(0xda)](_0x193df8)[_0x23cb3c(0x10a)](_0x44809b),_0x7db139=this[_0x23cb3c(0x81)]&&splitMarkerName(this[_0x23cb3c(0x81)])['id']===_0x44809b;let _0x51c47d;if(_0x342018&&_0x342018[_0x23cb3c(0xf3)]&&!_0x7db139&&_0x31c87c[_0x23cb3c(0x110)])return _0x3b5669[_0x23cb3c(0xc4)][_0x23cb3c(0xea)](_0x31c87c[_0x23cb3c(0x110)],_0x23cb3c(0xbd)+_0x31c87c[_0x23cb3c(0x109)]),_0x3b5669[_0x23cb3c(0xc4)][_0x23cb3c(0xea)](_0x31c87c[_0x23cb3c(0x110)],_0x23cb3c(0x97)+_0x31c87c[_0x23cb3c(0x109)]),null;const _0x5ee291=[_0x23cb3c(0x85)];return _0x7db139&&_0x5ee291[_0x23cb3c(0x106)](_0x23cb3c(0x88)),_0x51c47d=_0x342018&&_0x342018[_0x23cb3c(0x83)]?_0x342018[_0x23cb3c(0xbf)][_0x23cb3c(0xc0)][_0x23cb3c(0xb7)]['id']:_0xce9efd['me']['id'],{'classes':_0x5ee291,'attributes':{'data-comment':_0x44809b,'data-author-id':_0x51c47d}};}}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0xd2))[_0x2f6720(0x7c)]({'model':_0x2f6720(0x78),'view':(_0x14bdea,{options:_0x316750})=>{const _0x1394d6=_0x2f6720,_0x5c8dfc=_0x12abd0[_0x1394d6(0xa4)][_0x1394d6(0xda)](_0x193df8),_0x2d09e9=_0x12abd0[_0x1394d6(0xf5)][_0x1394d6(0xe2)][_0x1394d6(0xda)](_0x14bdea),{id:_0x5edec8,part:_0x548eb2}=splitMarkerName(_0x14bdea);if(_0x2d09e9&&!_0x2d09e9[_0x1394d6(0x9e)])return null;if(_0x316750[_0x1394d6(0xd9)]){const _0x22f846=_0x5c8dfc[_0x1394d6(0x10a)](_0x5edec8);if(_0x22f846&&_0x22f846[_0x1394d6(0xf3)])return null;}return{'group':_0x1394d6(0x78),'name':_0x548eb2?_0x5edec8+':'+_0x548eb2:_0x5edec8};}}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0x7a))[_0x2f6720(0xb1)]({'view':{'name':_0x2f6720(0x78),'attributes':{'id':/^\w/}},'model':(_0x1c5daa,{writer:_0xa4f1a4})=>_0xa4f1a4[_0x2f6720(0x8e)](_0x2f6720(0x96),{'data-name':_0x2f6720(0xa5)+_0x1c5daa[_0x2f6720(0xe8)]('id')})}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0x7a))[_0x2f6720(0x94)]({'view':_0x2f6720(0x78)});}[_0x2f208a(0x9c)](){const _0x70033f=_0x2f208a,_0x330013=this[_0x70033f(0xe9)],_0x599766=_0x330013[_0x70033f(0xa4)][_0x70033f(0xda)](_0x193df8),_0x55690b=new Set(),_0x433532=new Set();_0x330013[_0x70033f(0xf5)][_0x70033f(0xa0)][_0x70033f(0xba)](_0x473ef2=>{const _0x2efb7b=_0x70033f;let _0x19acb7=!0x1;for(const {name:_0x382b4c,data:_0x662bf3}of _0x330013[_0x2efb7b(0xf5)][_0x2efb7b(0xa0)][_0x2efb7b(0xe3)][_0x2efb7b(0xa8)]()){const {group:_0x3d4040,id:_0x2d7527}=splitMarkerName(_0x382b4c);let _0x1a3e68=_0x662bf3[_0x2efb7b(0xcf)];if(_0x2efb7b(0x78)!==_0x3d4040||!_0x1a3e68)continue;const _0x4263b0=_0x2efb7b(0x104)===_0x1a3e68[_0x2efb7b(0xf8)][_0x2efb7b(0x7f)];_0x4263b0||(_0x1a3e68=dt(_0x1a3e68,_0x330013[_0x2efb7b(0xf5)]),!_0x1a3e68||_0x1a3e68[_0x2efb7b(0x100)]||!_0x662bf3[_0x2efb7b(0xcf)]||_0x1a3e68[_0x2efb7b(0xf0)](_0x662bf3[_0x2efb7b(0xcf)]))?_0x330013[_0x2efb7b(0xf5)][_0x2efb7b(0xde)](_0x1a3e68)&&!_0x4263b0?this[_0x2efb7b(0xdd)]?_0x55690b[_0x2efb7b(0x86)](_0x382b4c):this[_0x2efb7b(0xfa)](_0x382b4c,_0x2d7527):(_0x433532[_0x2efb7b(0x86)](_0x382b4c),_0x55690b[_0x2efb7b(0xed)](_0x382b4c),_0x473ef2[_0x2efb7b(0xff)](_0x382b4c),_0x19acb7=!0x0):(_0x473ef2[_0x2efb7b(0xb4)](_0x382b4c,{'range':_0x1a3e68}),_0x19acb7=!0x0);}return _0x19acb7;}),this['on'](_0x70033f(0x93),(_0x1ea5dd,_0x42ea22,_0x175c95)=>{const _0x1f5085=_0x70033f;if(!_0x175c95&&_0x55690b[_0x1f5085(0xaa)])for(const _0x14240d of _0x55690b){const {id:_0x34eea5}=splitMarkerName(_0x14240d);_0x55690b[_0x1f5085(0xed)](_0x14240d),_0x330013[_0x1f5085(0xf5)][_0x1f5085(0xe2)][_0x1f5085(0xda)](_0x14240d)&&this[_0x1f5085(0xfa)](_0x14240d,_0x34eea5);}}),this[_0x70033f(0x10b)](_0x330013[_0x70033f(0xf5)][_0x70033f(0xa0)],_0x70033f(0x9a),(_0x3181ee,_0x43b29c)=>{const _0x27c1b0=_0x70033f;for(const {name:_0x44570f,data:{newRange:_0x302ed6}}of _0x330013[_0x27c1b0(0xf5)][_0x27c1b0(0xa0)][_0x27c1b0(0xe3)][_0x27c1b0(0xa8)]()){const {group:_0x2177a8,id:_0x471218}=splitMarkerName(_0x44570f);if(_0x27c1b0(0x78)!==_0x2177a8)continue;const _0x266bc3=_0x599766[_0x27c1b0(0x10a)](_0x471218),_0x2aa517=this[_0x27c1b0(0x102)](_0x471218);_0x266bc3&&(!_0x266bc3[_0x27c1b0(0xc2)]&&_0x302ed6&&_0x330013[_0x27c1b0(0xec)][_0x27c1b0(0xd5)][_0x27c1b0(0xef)](_0x27c1b0(0xd4),()=>{const _0x614c7f=_0x27c1b0,_0x13459a=_0x330013[_0x614c7f(0xa4)][_0x614c7f(0xda)](_0x99e31c),_0x4014e1=_0x599766[_0x614c7f(0x8b)][_0x614c7f(0xda)](_0x266bc3)[_0x614c7f(0xd5)];_0x13459a[_0x614c7f(0x7d)](_0x4014e1)[_0x614c7f(0xc9)]();},{'priority':_0x27c1b0(0x8f)}),_0x266bc3[_0x27c1b0(0xc2)]=_0x2aa517||!!_0x302ed6),_0x302ed6||(_0x433532[_0x27c1b0(0x86)](_0x44570f),_0x55690b[_0x27c1b0(0xed)](_0x44570f));}if(_0x43b29c[_0x27c1b0(0xe6)])for(const _0x5b3a61 of _0x433532){const {id:_0x37af15}=splitMarkerName(_0x5b3a61),_0x1de073=_0x599766[_0x27c1b0(0x10a)](_0x37af15),_0x325f7b=this[_0x27c1b0(0x102)](_0x37af15);_0x55690b[_0x27c1b0(0xed)](_0x5b3a61),!_0x1de073||_0x325f7b||_0x1de073[_0x27c1b0(0xc6)]||_0x1de073[_0x27c1b0(0xdb)](new Date());}_0x433532[_0x27c1b0(0xcb)]();});}[_0x2f208a(0x79)](_0x56f6b3){const _0x45983b=_0x2f208a,_0x32e25e=this[_0x45983b(0xe9)],_0x206cd9=this[_0x45983b(0x91)](_0x56f6b3);return _0x3c554e(_0x32e25e[_0x45983b(0xec)],_0x206cd9);}[_0x2f208a(0x8d)](_0x41e5a9){const _0x40491c=_0x2f208a,_0x259dcf=this[_0x40491c(0x91)](_0x41e5a9);let _0x52bd63='',_0x492ac8=!0x1;for(const _0x3888fe of _0x259dcf){const _0x3f5b92=_0x3888fe[_0x40491c(0x10c)]();for(const _0x461fea of Array[_0x40491c(0xb9)](_0x3f5b92[_0x40491c(0x9f)]()))_0x461fea['is'](_0x40491c(0x10f))?(_0x52bd63&&_0x492ac8&&(_0x52bd63+='\x20',_0x492ac8=!0x1),_0x52bd63+=_0x461fea[_0x40491c(0x10e)]):_0x492ac8=!0x0;_0x492ac8=!0x0;}return _0x52bd63[_0x40491c(0x7e)](0x0,0x96);}[_0x2f208a(0x89)](_0x27bce7,_0x1e6e7e){const _0x2c897e=_0x2f208a,_0xe955e5=this[_0x2c897e(0xe9)],_0x345b61=_0xe955e5[_0x2c897e(0xa4)][_0x2c897e(0xda)](_0x193df8);let _0x83f48d=_0x345b61[_0x2c897e(0x10a)](_0x1e6e7e);const _0x3d63be=_0xe955e5[_0x2c897e(0x107)][_0x2c897e(0xda)](_0x2c897e(0xa9)),_0x36688e=_0xe955e5[_0x2c897e(0xa4)][_0x2c897e(0xda)](_0x10cd8b);if(_0x83f48d&&(_0x83f48d[_0x2c897e(0xc6)]&&_0x83f48d[_0x2c897e(0xdb)](null),_0x83f48d[_0x2c897e(0xe0)]))return _0x83f48d;return!this[_0x2c897e(0x91)](_0x1e6e7e)[0x0][_0x2c897e(0xaf)]?_0xe955e5[_0x2c897e(0xec)][_0x2c897e(0xd5)][_0x2c897e(0xef)](_0x2c897e(0xd4),()=>{const _0x3c1aa1=_0x2c897e;if(_0x345b61[_0x3c1aa1(0x10a)](_0x1e6e7e))return;const _0xf0d05d=_0xe955e5[_0x3c1aa1(0xa4)][_0x3c1aa1(0xda)](_0x99e31c);_0x83f48d=_0x345b61[_0x3c1aa1(0xd3)]({'channelId':_0x3d63be,'threadId':_0x1e6e7e,'target':()=>this[_0x3c1aa1(0x79)](_0x1e6e7e),'context':{'type':_0x3c1aa1(0xac),'value':this[_0x3c1aa1(0x8d)](_0x1e6e7e)}});const _0x44b949=_0x345b61[_0x3c1aa1(0x8b)][_0x3c1aa1(0xda)](_0x83f48d)[_0x3c1aa1(0xd5)],_0x48a24b=_0xf0d05d[_0x3c1aa1(0x7d)](_0x44b949);_0x48a24b&&_0x36688e[_0x3c1aa1(0xb6)](_0x48a24b);},{'priority':_0x2c897e(0x8f)}):_0x345b61[_0x2c897e(0xc1)]({'channelId':_0x3d63be,'threadId':_0x1e6e7e})[_0x2c897e(0xcd)](_0x3fd351=>{const _0x39f8e1=_0x2c897e;if(_0x39f8e1(0x77)!==_0xe955e5[_0x39f8e1(0xc7)]){if(_0x83f48d=_0x3fd351,_0x83f48d&&!_0x83f48d[_0x39f8e1(0xe0)]){const _0x29993b=_0x83f48d[_0x39f8e1(0xf2)](()=>this[_0x39f8e1(0x79)](_0x1e6e7e));_0x36688e[_0x39f8e1(0xb6)](_0x29993b),_0x83f48d[_0x39f8e1(0xf3)]&&this[_0x39f8e1(0x99)](_0x1e6e7e);}else{if(!_0x83f48d){const _0x1f474b=this[_0x39f8e1(0x91)](_0x1e6e7e);_0xe955e5[_0x39f8e1(0xf5)][_0x39f8e1(0x9a)](_0x4f9216=>{const _0x505867=_0x39f8e1;for(const _0x579765 of _0x1f474b)_0x4f9216[_0x505867(0xff)](_0x579765);});}}}}),_0x83f48d;}[_0x2f208a(0xfa)](_0x35d51e,_0x54a0fa){const _0x3d71ae=_0x2f208a,_0x24f1bf=this[_0x3d71ae(0x89)](_0x35d51e,_0x54a0fa);_0x24f1bf&&!_0x24f1bf[_0x3d71ae(0x98)]&&_0x24f1bf[_0x3d71ae(0x108)]({'type':_0x3d71ae(0xac),'value':this[_0x3d71ae(0x8d)](_0x54a0fa)});}[_0x2f208a(0xb3)](){const _0x449845=_0x2f208a,_0x3730ad=this[_0x449845(0xe9)];_0x42904a(_0x3730ad[_0x449845(0xf5)],({left:_0x485cc4,entered:_0x1fb97b})=>{const _0xc077de=_0x449845;for(const _0x3272c9 of _0x485cc4)if(ht(_0x3272c9)){_0x3730ad['ui'][_0xc077de(0xad)][_0xc077de(0xc8)](_0x3a597e(_0x3730ad[_0xc077de(0x80)],_0xc077de(0xfb)));break;}for(const _0x47ec74 of _0x1fb97b)if(ht(_0x47ec74)){_0x3730ad['ui'][_0xc077de(0xad)][_0xc077de(0xc8)](_0x3a597e(_0x3730ad[_0xc077de(0x80)],_0xc077de(0x92),_0x126195(_0x1dbb9d)));break;}});}}function mt(_0x522e5a,_0x24dabb){return _0x24dabb?_0x522e5a+':'+_0x24dabb:_0x522e5a;}export function splitMarkerName(_0x5d2e36){const _0x4d292f=_0x2f208a,_0x4b95cf=_0x5d2e36[_0x4d292f(0xca)](':');return{'group':_0x4b95cf[0x0],'id':_0x4b95cf[0x1],'part':_0x4b95cf[0x2]};}function dt(_0xa8c4fe,_0x1dc866){const _0x1f2d17=_0x2f208a,_0x1ecebb=_0x1dc866[_0x1f2d17(0xc5)],_0x3db352=_0x1dc866[_0x1f2d17(0xce)](_0xa8c4fe[_0x1f2d17(0xa3)]);for(const _0x437371 of _0xa8c4fe[_0x1f2d17(0x105)]()){const {type:_0xc5af9f,item:_0x1afd16,nextPosition:_0x556b52}=_0x437371;if(_0x1f2d17(0xac)===_0xc5af9f||_0x1ecebb[_0x1f2d17(0xc3)](_0x1afd16)){const _0x2f51cb=_0x1dc866[_0x1f2d17(0x101)](_0x1afd16);_0x3db352[_0x1f2d17(0x100)]&&(_0x3db352[_0x1f2d17(0xa3)]=_0x2f51cb),_0x3db352[_0x1f2d17(0xab)]=_0x556b52;}}return _0x3db352;}function ht(_0x23de1d){const _0x158538=_0x2f208a;return _0x158538(0x78)===splitMarkerName(_0x23de1d[_0x158538(0x82)])[_0x158538(0x8c)];}
|