@ckeditor/ckeditor5-comments 47.0.0-alpha.4 → 47.0.0-alpha.5
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 +11 -11
- 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/be.js +1 -1
- package/dist/translations/be.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 +18 -18
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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/integrations/showcommenthighlights.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
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e5242=_0x43ea;function _0x2348(){const _0x26fc5f=['isActive','config','nodeType','_destroySidebarItemView','_alignForBottomChange','bind','setContainer','get','_alignBeforeItem','destroy','clear','delete','change:_lastItem','push','_updateLastItem','1dJMQZN','minHeight','_detachFromContainer','_alignAfterItem','sidebar-setcontainer-invalid-element','unbind','602lrVJuG','list','_annotations','class','_attachToContainer','view','_getTargetTop','refresh','_spaceBetweenItems','isAnimationDisabled','targetRect','content','8YUKNwj','object','1144326yyJIWR','_recalculate','stopListening','render','addAnnotation','change:top','bottom','listenTo','change:targetRect','_recalculateBuffer','_activeAnnotation','59240IQPfSC','_createSidebarView','578700dEtOIJ','pluginName','sidebar.container','sidebar.preventScrollOutOfView','set','sidebar-attachtocontainer-missing-container','rearrange','776915WaFzVv','locale','init','10452lBHIvn','appendChild','target','2629lqGcJR','_sidebarItemViewToAnnotation','top','change:bottom','1083351YsgOoi','30YavdCc','element','length','container','_alignToTargetRect','_lastItem','_setItemTop','_annotationToSidebarItemView','_targetTop','max','_getItemBefore','updateHeight','isOfficialPlugin','getIndex','add','last','_getMaxAvailableTop','remove','define','height','context','Sidebar','getSidebarItemView','_alignForTopChange','_getItemAfter','1066374AZdGIS','isPremiumPlugin'];_0x2348=function(){return _0x26fc5f;};return _0x2348();}(function(_0x3df856,_0x158298){const _0x2e9c77=_0x43ea,_0x463b34=_0x3df856();while(!![]){try{const _0x43cf89=-parseInt(_0x2e9c77(0xd0))/0x1*(-parseInt(_0x2e9c77(0x87))/0x2)+-parseInt(_0x2e9c77(0xa5))/0x3+parseInt(_0x2e9c77(0x85))/0x4*(parseInt(_0x2e9c77(0x9b))/0x5)+-parseInt(_0x2e9c77(0x94))/0x6+-parseInt(_0x2e9c77(0xd6))/0x7*(parseInt(_0x2e9c77(0x92))/0x8)+-parseInt(_0x2e9c77(0xbf))/0x9*(-parseInt(_0x2e9c77(0xa6))/0xa)+-parseInt(_0x2e9c77(0xa1))/0xb*(-parseInt(_0x2e9c77(0x9e))/0xc);if(_0x43cf89===_0x158298)break;else _0x463b34['push'](_0x463b34['shift']());}catch(_0x50dfe0){_0x463b34['push'](_0x463b34['shift']());}}}(_0x2348,0x55f9f));import{ContextPlugin as _0x108796}from'ckeditor5/src/core.js';import{Rect as _0x3cf8aa,CKEditorError as _0x2ce338}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2f762c}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x35ce74}from'./view/sidebaritemview.js';export class Sidebar extends _0x108796{[_0x1e5242(0xdb)];[_0x1e5242(0x91)];[_0x1e5242(0xd8)];[_0x1e5242(0x81)];[_0x1e5242(0xa2)];[_0x1e5242(0xad)];[_0x1e5242(0x90)];static get[_0x1e5242(0x95)](){const _0x1659b5=_0x1e5242;return _0x1659b5(0xbb);}static get[_0x1e5242(0xb2)](){return!0x0;}static get[_0x1e5242(0xc0)](){return!0x0;}constructor(_0x5c498c){const _0x22df61=_0x1e5242;super(_0x5c498c),this[_0x22df61(0x98)](_0x22df61(0xab),void 0x0),this[_0x22df61(0xdb)]=this[_0x22df61(0x93)](),this[_0x22df61(0x98)](_0x22df61(0xa9),null),this[_0x22df61(0x81)]=0x19,this[_0x22df61(0xa2)]=new Map(),this[_0x22df61(0xad)]=new Map(),this[_0x22df61(0xba)][_0x22df61(0xc2)][_0x22df61(0xb8)](_0x22df61(0x97),!0x1),this[_0x22df61(0xd8)]=null,this[_0x22df61(0x91)]=null,this[_0x22df61(0x90)]=[];}[_0x1e5242(0x9d)](){const _0x545db2=_0x1e5242,_0xd5efe2=this[_0x545db2(0xba)][_0x545db2(0xc2)][_0x545db2(0xc8)](_0x545db2(0x96));_0xd5efe2&&this[_0x545db2(0xc7)](_0xd5efe2);}[_0x1e5242(0xc7)](_0xf422f6){const _0x251f10=_0x1e5242;if(!g(_0xf422f6))throw new _0x2ce338(_0x251f10(0xd4));this[_0x251f10(0xa9)]=_0xf422f6;}[_0x1e5242(0xda)]({viewClass:_0x26c9c4='',spaceBetweenItems:_0x2d4f85=0x19}={}){const _0x2dea31=_0x1e5242;if(!g(this[_0x2dea31(0xa9)]))throw new _0x2ce338(_0x2dea31(0x99),this);this[_0x2dea31(0xa9)][_0x2dea31(0x9f)](this[_0x2dea31(0xdb)][_0x2dea31(0xa7)]),this[_0x2dea31(0xdb)][_0x2dea31(0xd9)]=_0x26c9c4,this[_0x2dea31(0x81)]=_0x2d4f85;}[_0x1e5242(0x9a)]({removedAnnotation:_0x519ad2,previousAnnotation:_0x177cbc,nextAnnotation:_0x207879}){const _0x59b61a=_0x1e5242,_0xc18e63=this[_0x59b61a(0xbc)](_0x519ad2);this[_0x59b61a(0xdb)][_0x59b61a(0xd7)][_0x59b61a(0xb7)](_0xc18e63),this[_0x59b61a(0xc4)](_0x519ad2),_0x177cbc&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x177cbc)),_0x207879&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x207879)),this[_0x59b61a(0xcf)]();}[_0x1e5242(0x80)]({blurredAnnotation:_0x499732,activatedAnnotation:_0xeb4aab,disableAnimationOnActivatedAnnotation:_0x34442f}){const _0x1c2e83=_0x1e5242;if(this[_0x1c2e83(0x91)]=_0xeb4aab,_0x499732){_0x499732[_0x1c2e83(0xc1)]=!0x1;const _0x4601e0=this[_0x1c2e83(0xbc)](_0x499732);_0x4601e0&&_0x34442f&&(_0x4601e0[_0x1c2e83(0x82)]=!0x1);}if(_0xeb4aab){const _0x1fbb30=this[_0x1c2e83(0xbc)](_0xeb4aab);_0x1fbb30&&(_0xeb4aab[_0x1c2e83(0xc1)]=!0x0,_0x34442f&&(_0x1fbb30[_0x1c2e83(0x82)]=!0x0,_0x1fbb30[_0x1c2e83(0xa3)]+=0x1),this[_0x1c2e83(0xaa)](_0x1fbb30));}}[_0x1e5242(0xd2)](_0x350993){const _0x5d0b61=_0x1e5242;if(this[_0x5d0b61(0xdb)][_0x5d0b61(0xa7)][_0x5d0b61(0xb7)](),_0x350993){for(const _0x81fca7 of _0x350993)this[_0x5d0b61(0xc4)](_0x81fca7);}this[_0x5d0b61(0xdb)][_0x5d0b61(0xd7)][_0x5d0b61(0xcb)](),this[_0x5d0b61(0xdb)][_0x5d0b61(0xd9)]='',this[_0x5d0b61(0xab)]=null;}[_0x1e5242(0x8b)](_0x2b0133,_0x360eb2){const _0x5dc302=_0x1e5242;_0x360eb2||(_0x360eb2=_0x2b0133[_0x5dc302(0xdb)]);const _0x479628=new _0x35ce74(this[_0x5dc302(0xba)][_0x5dc302(0x9c)]);this[_0x5dc302(0xa2)][_0x5dc302(0x98)](_0x479628,_0x2b0133),this[_0x5dc302(0xad)][_0x5dc302(0x98)](_0x2b0133,_0x479628),_0x479628[_0x5dc302(0x84)][_0x5dc302(0xb4)](_0x360eb2),this[_0x5dc302(0x8e)](_0x2b0133[_0x5dc302(0xdb)],_0x5dc302(0x8f),(_0x3da6cf,_0x2e69ee,_0xa693c7)=>{const _0x302d62=_0x5dc302,_0x1648e7=this[_0x302d62(0xdc)](_0x2b0133,_0xa693c7);_0x479628[_0x302d62(0xae)]!=_0x1648e7&&(_0x479628[_0x302d62(0xae)]=_0x1648e7,this[_0x302d62(0xac)](_0x479628,_0x1648e7));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0x8c),()=>{const _0x53c3b5=_0x5dc302;this[_0x53c3b5(0x88)](_0x479628,_0x53c3b5(0xa3));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0xa4),()=>{const _0x455528=_0x5dc302;this[_0x455528(0x88)](_0x479628,_0x455528(0x8d));}),this[_0x5dc302(0xaa)](_0x479628);const _0x3b69ae=this[_0x5dc302(0xb0)](_0x479628);if(_0x3b69ae)this[_0x5dc302(0xd3)](_0x3b69ae,_0x479628)||this[_0x5dc302(0xaa)](_0x479628);else this[_0x5dc302(0xaa)](_0x479628);return this[_0x5dc302(0xcf)](),this[_0x5dc302(0xdb)][_0x5dc302(0xd7)][_0x5dc302(0xb4)](_0x479628),_0x479628;}[_0x1e5242(0xbd)](_0x23dc4e){const _0x1acc6e=_0x1e5242;if(!_0x23dc4e[_0x1acc6e(0x84)][_0x1acc6e(0xa8)])return;const _0x59d31b=this[_0x1acc6e(0xb0)](_0x23dc4e);if(!_0x59d31b)return;const _0x36ca29=this[_0x1acc6e(0xa2)][_0x1acc6e(0xc8)](_0x59d31b),_0x95638b=this[_0x1acc6e(0x91)];_0x95638b&&_0x95638b===_0x36ca29?this[_0x1acc6e(0xd3)](_0x59d31b,_0x23dc4e):this[_0x1acc6e(0xc9)](_0x23dc4e,_0x59d31b);}[_0x1e5242(0xc5)](_0x3d7521){const _0x35d572=_0x1e5242;if(!_0x3d7521[_0x35d572(0x84)][_0x35d572(0xa8)])return;const _0x3e1fd0=this[_0x35d572(0xbe)](_0x3d7521);if(!_0x3e1fd0)return;const _0x8e0eb6=this[_0x35d572(0xa2)][_0x35d572(0xc8)](_0x3e1fd0),_0x38b19f=this[_0x35d572(0xba)][_0x35d572(0xc2)][_0x35d572(0xc8)](_0x35d572(0x97)),_0x2da497=this[_0x35d572(0x91)];_0x2da497&&_0x2da497===_0x8e0eb6&&_0x38b19f?(this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521),this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0)):_0x2da497&&_0x2da497===_0x8e0eb6?this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521):this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0);}[_0x1e5242(0x88)](_0x440321,_0x205ba7){const _0x4b37be=_0x1e5242;0x0===this[_0x4b37be(0x90)][_0x4b37be(0xa8)]&&setTimeout(()=>{const _0x30aaa8=_0x4b37be;for(const {sidebarItemView:_0x3eac08,changedProp:_0x4b74e3}of this[_0x30aaa8(0x90)])_0x30aaa8(0xa3)===_0x4b74e3?this[_0x30aaa8(0xbd)](_0x3eac08):this[_0x30aaa8(0xc5)](_0x3eac08);this[_0x30aaa8(0x90)]=[];},0xa),this[_0x4b37be(0x90)][_0x4b37be(0xce)]({'sidebarItemView':_0x440321,'changedProp':_0x205ba7});}[_0x1e5242(0xbc)](_0x215a9a){const _0xe5b3bc=_0x1e5242;return this[_0xe5b3bc(0xad)][_0xe5b3bc(0xc8)](_0x215a9a);}[_0x1e5242(0xca)](){const _0x5f55bb=_0x1e5242;this[_0x5f55bb(0x89)](),this[_0x5f55bb(0xdb)][_0x5f55bb(0xca)]();}[_0x1e5242(0xc4)](_0x5c9fd0){const _0x4a05a7=_0x1e5242,_0x221e7b=this[_0x4a05a7(0xbc)](_0x5c9fd0);this[_0x4a05a7(0x89)](_0x221e7b),this[_0x4a05a7(0x89)](_0x5c9fd0[_0x4a05a7(0xdb)]),_0x221e7b[_0x4a05a7(0xca)](),this[_0x4a05a7(0xad)][_0x4a05a7(0xcc)](_0x5c9fd0),this[_0x4a05a7(0xa2)][_0x4a05a7(0xcc)](_0x221e7b);}[_0x1e5242(0x93)](){const _0x2163aa=_0x1e5242,_0x5190e9=new _0x2f762c(this[_0x2163aa(0xba)][_0x2163aa(0x9c)]);return _0x5190e9[_0x2163aa(0x8a)](),this['on'](_0x2163aa(0xcd),(_0x5cfb76,_0x4a1cdf,_0x4c821e,_0x4387cd)=>{const _0x4f7ca0=_0x2163aa;_0x4387cd&&_0x5190e9[_0x4f7ca0(0xd5)](_0x4f7ca0(0xd1)),_0x4c821e?_0x5190e9[_0x4f7ca0(0xc6)](_0x4f7ca0(0xd1))['to'](_0x4c821e,_0x4f7ca0(0x8d)):_0x5190e9[_0x4f7ca0(0xd1)]=null;}),_0x5190e9;}[_0x1e5242(0xcf)](){const _0xb7764b=_0x1e5242;this[_0xb7764b(0xab)]=this[_0xb7764b(0xd8)]?.[_0xb7764b(0xb5)]?this[_0xb7764b(0xbc)](this[_0xb7764b(0xd8)][_0xb7764b(0xb5)]):null;}[_0x1e5242(0xb0)](_0x6b86a){const _0x1cd98f=_0x1e5242,_0x394f40=this[_0x1cd98f(0xa2)][_0x1cd98f(0xc8)](_0x6b86a),_0x508389=_0x394f40&&this[_0x1cd98f(0xd8)]?.[_0x1cd98f(0xc8)](this[_0x1cd98f(0xd8)][_0x1cd98f(0xb3)](_0x394f40)-0x1);return _0x508389&&this[_0x1cd98f(0xbc)](_0x508389)||null;}[_0x1e5242(0xbe)](_0x5a8865){const _0x280910=_0x1e5242,_0x5b938d=this[_0x280910(0xa2)][_0x280910(0xc8)](_0x5a8865),_0x137178=_0x5b938d&&this[_0x280910(0xd8)]?.[_0x280910(0xc8)](this[_0x280910(0xd8)][_0x280910(0xb3)](_0x5b938d)+0x1);return _0x137178&&this[_0x280910(0xbc)](_0x137178)||null;}[_0x1e5242(0xc9)](_0x10dd75,_0x5e38b4){const _0x4a143f=_0x1e5242;_0x10dd75[_0x4a143f(0xb1)]();const _0x2c10b0=G(_0x5e38b4[_0x4a143f(0x8d)]+this[_0x4a143f(0x81)],_0x10dd75[_0x4a143f(0xa3)]);return!!_0x2c10b0&&(this[_0x4a143f(0xac)](_0x5e38b4,_0x5e38b4[_0x4a143f(0xa3)]-_0x2c10b0),!0x0);}[_0x1e5242(0xd3)](_0x596be5,_0x597641){const _0x22bc46=_0x1e5242;_0x596be5[_0x22bc46(0xb1)]();const _0x2b4899=G(_0x596be5[_0x22bc46(0x8d)]+this[_0x22bc46(0x81)],_0x597641[_0x22bc46(0xa3)]);return!!_0x2b4899&&(this[_0x22bc46(0xac)](_0x597641,_0x597641[_0x22bc46(0xa3)]+_0x2b4899,!0x1),!0x0);}[_0x1e5242(0xaa)](_0x56b102){const _0x6397b8=_0x1e5242,_0x5e375f=this[_0x6397b8(0xa2)][_0x6397b8(0xc8)](_0x56b102);if(!_0x5e375f||!_0x5e375f[_0x6397b8(0xa0)]||!_0x5e375f[_0x6397b8(0x83)])return;const _0x1bd1b4=this[_0x6397b8(0xdc)](_0x5e375f,_0x5e375f[_0x6397b8(0x83)]);this[_0x6397b8(0xac)](_0x56b102,_0x1bd1b4);}[_0x1e5242(0xdc)](_0x449e0d,_0x1c3812){const _0x1d5c9a=_0x1e5242;if(null===_0x1c3812)return 0x0;if(_0x449e0d[_0x1d5c9a(0xa0)]instanceof _0x3cf8aa)return _0x1c3812[_0x1d5c9a(0xa3)];{const _0x592baf=new _0x3cf8aa(this[_0x1d5c9a(0xdb)][_0x1d5c9a(0xa7)])[_0x1d5c9a(0xa3)];return _0x1c3812[_0x1d5c9a(0xa3)]-_0x592baf;}}[_0x1e5242(0xac)](_0x4d7dbc,_0x423429,_0x56836d=this[_0x1e5242(0xba)][_0x1e5242(0xc2)][_0x1e5242(0xc8)](_0x1e5242(0x97))){const _0x469f68=_0x1e5242;_0x56836d&&(_0x423429=Math[_0x469f68(0xaf)](_0x423429,this[_0x469f68(0xb6)](_0x4d7dbc))),_0x4d7dbc[_0x469f68(0xa3)]=_0x423429;}[_0x1e5242(0xb6)](_0x2fffa3){const _0x1e6633=_0x1e5242;let _0x389775=this[_0x1e6633(0xb0)](_0x2fffa3),_0x1581d0=0x0;for(;_0x389775;)_0x389775[_0x1e6633(0xb1)](),_0x1581d0+=this[_0x1e6633(0x81)]+_0x389775[_0x1e6633(0xb9)],_0x389775=this[_0x1e6633(0xb0)](_0x389775);return _0x1581d0;}}function _0x43ea(_0x41eb1f,_0x59c067){const _0x234890=_0x2348();return _0x43ea=function(_0x43ea47,_0x4575fa){_0x43ea47=_0x43ea47-0x80;let _0x447c76=_0x234890[_0x43ea47];return _0x447c76;},_0x43ea(_0x41eb1f,_0x59c067);}function G(_0x1e05bc,_0x2298ff){const _0x2740b0=_0x1e5242;return Math[_0x2740b0(0xaf)](_0x1e05bc-_0x2298ff,0x0);}function g(_0x3ea9ad){const _0xf7e36c=_0x1e5242;return null!==_0x3ea9ad&&_0xf7e36c(0x86)==typeof _0x3ea9ad&&0x1===_0x3ea9ad[_0xf7e36c(0xc3)];}
|
|
23
|
+
function _0x2af2(_0x5ba105,_0x3c663f){const _0x104ad7=_0x104a();return _0x2af2=function(_0x2af2ef,_0x228ecb){_0x2af2ef=_0x2af2ef-0x16f;let _0x21c02a=_0x104ad7[_0x2af2ef];return _0x21c02a;},_0x2af2(_0x5ba105,_0x3c663f);}const _0x29d30=_0x2af2;(function(_0x4d9b23,_0x484cc6){const _0x55f93c=_0x2af2,_0x4abcc5=_0x4d9b23();while(!![]){try{const _0x24f13f=parseInt(_0x55f93c(0x187))/0x1+parseInt(_0x55f93c(0x18b))/0x2*(-parseInt(_0x55f93c(0x180))/0x3)+parseInt(_0x55f93c(0x176))/0x4*(-parseInt(_0x55f93c(0x1c5))/0x5)+parseInt(_0x55f93c(0x178))/0x6*(parseInt(_0x55f93c(0x19c))/0x7)+-parseInt(_0x55f93c(0x1be))/0x8*(-parseInt(_0x55f93c(0x17c))/0x9)+-parseInt(_0x55f93c(0x172))/0xa+parseInt(_0x55f93c(0x190))/0xb;if(_0x24f13f===_0x484cc6)break;else _0x4abcc5['push'](_0x4abcc5['shift']());}catch(_0x442757){_0x4abcc5['push'](_0x4abcc5['shift']());}}}(_0x104a,0x1c1d5));import{ContextPlugin as _0x31bc0e}from'ckeditor5/src/core.js';import{Rect as _0x33b14e,CKEditorError as _0x1a5eab}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x3d699d}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0xc0b0ba}from'./view/sidebaritemview.js';export class Sidebar extends _0x31bc0e{[_0x29d30(0x198)];[_0x29d30(0x1bd)];[_0x29d30(0x19f)];[_0x29d30(0x196)];[_0x29d30(0x1b6)];[_0x29d30(0x1a0)];[_0x29d30(0x1c4)];static get[_0x29d30(0x1ca)](){const _0x4d08a9=_0x29d30;return _0x4d08a9(0x1a1);}static get[_0x29d30(0x18a)](){return!0x0;}static get[_0x29d30(0x170)](){return!0x0;}constructor(_0x3ef8da){const _0x18f124=_0x29d30;super(_0x3ef8da),this[_0x18f124(0x182)](_0x18f124(0x1a3),void 0x0),this[_0x18f124(0x198)]=this[_0x18f124(0x183)](),this[_0x18f124(0x182)](_0x18f124(0x19e),null),this[_0x18f124(0x196)]=0x19,this[_0x18f124(0x1b6)]=new Map(),this[_0x18f124(0x1a0)]=new Map(),this[_0x18f124(0x1b8)][_0x18f124(0x174)][_0x18f124(0x1bf)](_0x18f124(0x1ba),!0x1),this[_0x18f124(0x19f)]=null,this[_0x18f124(0x1bd)]=null,this[_0x18f124(0x1c4)]=[];}[_0x29d30(0x192)](){const _0x419414=_0x29d30,_0x333007=this[_0x419414(0x1b8)][_0x419414(0x174)][_0x419414(0x1a8)](_0x419414(0x1b3));_0x333007&&this[_0x419414(0x1b5)](_0x333007);}[_0x29d30(0x1b5)](_0x4985f6){const _0x334db5=_0x29d30;if(!g(_0x4985f6))throw new _0x1a5eab(_0x334db5(0x175));this[_0x334db5(0x19e)]=_0x4985f6;}[_0x29d30(0x188)]({viewClass:_0x3d3971='',spaceBetweenItems:_0x540e20=0x19}={}){const _0x6b7f56=_0x29d30;if(!g(this[_0x6b7f56(0x19e)]))throw new _0x1a5eab(_0x6b7f56(0x194),this);this[_0x6b7f56(0x19e)][_0x6b7f56(0x1a7)](this[_0x6b7f56(0x198)][_0x6b7f56(0x18f)]),this[_0x6b7f56(0x198)][_0x6b7f56(0x1ad)]=_0x3d3971,this[_0x6b7f56(0x196)]=_0x540e20;}[_0x29d30(0x17f)]({removedAnnotation:_0x424852,previousAnnotation:_0x26130c,nextAnnotation:_0x32d49c}){const _0x3d0f46=_0x29d30,_0x57286a=this[_0x3d0f46(0x185)](_0x424852);this[_0x3d0f46(0x198)][_0x3d0f46(0x17d)][_0x3d0f46(0x1a9)](_0x57286a),this[_0x3d0f46(0x189)](_0x424852),_0x26130c&&this[_0x3d0f46(0x1c1)](this[_0x3d0f46(0x185)](_0x26130c)),_0x32d49c&&this[_0x3d0f46(0x1c1)](this[_0x3d0f46(0x185)](_0x32d49c)),this[_0x3d0f46(0x1b9)]();}[_0x29d30(0x1c6)]({blurredAnnotation:_0x7a875f,activatedAnnotation:_0x102e2e,disableAnimationOnActivatedAnnotation:_0x301d7c}){const _0x3c49d5=_0x29d30;if(this[_0x3c49d5(0x1bd)]=_0x102e2e,_0x7a875f){_0x7a875f[_0x3c49d5(0x18e)]=!0x1;const _0xe39296=this[_0x3c49d5(0x185)](_0x7a875f);_0xe39296&&_0x301d7c&&(_0xe39296[_0x3c49d5(0x197)]=!0x1);}if(_0x102e2e){const _0x426bb9=this[_0x3c49d5(0x185)](_0x102e2e);_0x426bb9&&(_0x102e2e[_0x3c49d5(0x18e)]=!0x0,_0x301d7c&&(_0x426bb9[_0x3c49d5(0x197)]=!0x0,_0x426bb9[_0x3c49d5(0x18d)]+=0x1),this[_0x3c49d5(0x1c1)](_0x426bb9));}}[_0x29d30(0x1b7)](_0x376e13){const _0x5aab0a=_0x29d30;if(this[_0x5aab0a(0x198)][_0x5aab0a(0x18f)][_0x5aab0a(0x1a9)](),_0x376e13){for(const _0x165e18 of _0x376e13)this[_0x5aab0a(0x189)](_0x165e18);}this[_0x5aab0a(0x198)][_0x5aab0a(0x17d)][_0x5aab0a(0x1c0)](),this[_0x5aab0a(0x198)][_0x5aab0a(0x1ad)]='',this[_0x5aab0a(0x1a3)]=null;}[_0x29d30(0x195)](_0x188762,_0x536003){const _0x321c19=_0x29d30;_0x536003||(_0x536003=_0x188762[_0x321c19(0x198)]);const _0x251f71=new _0xc0b0ba(this[_0x321c19(0x1b8)][_0x321c19(0x19d)]);this[_0x321c19(0x1b6)][_0x321c19(0x182)](_0x251f71,_0x188762),this[_0x321c19(0x1a0)][_0x321c19(0x182)](_0x188762,_0x251f71),_0x251f71[_0x321c19(0x17a)][_0x321c19(0x1c8)](_0x536003),this[_0x321c19(0x184)](_0x188762[_0x321c19(0x198)],_0x321c19(0x16f),(_0x3cff17,_0x3fda78,_0x4e454b)=>{const _0x7c4709=_0x321c19,_0x2821c6=this[_0x7c4709(0x1a4)](_0x188762,_0x4e454b);_0x251f71[_0x7c4709(0x17e)]!=_0x2821c6&&(_0x251f71[_0x7c4709(0x17e)]=_0x2821c6,this[_0x7c4709(0x1b0)](_0x251f71,_0x2821c6));}),this[_0x321c19(0x184)](_0x251f71,_0x321c19(0x1c7),()=>{const _0x55d8d8=_0x321c19;this[_0x55d8d8(0x1a6)](_0x251f71,_0x55d8d8(0x18d));}),this[_0x321c19(0x184)](_0x251f71,_0x321c19(0x1c3),()=>{const _0x1b8530=_0x321c19;this[_0x1b8530(0x1a6)](_0x251f71,_0x1b8530(0x1ab));}),this[_0x321c19(0x1c1)](_0x251f71);const _0x118aa5=this[_0x321c19(0x177)](_0x251f71);if(_0x118aa5)this[_0x321c19(0x19b)](_0x118aa5,_0x251f71)||this[_0x321c19(0x1c1)](_0x251f71);else this[_0x321c19(0x1c1)](_0x251f71);return this[_0x321c19(0x1b9)](),this[_0x321c19(0x198)][_0x321c19(0x17d)][_0x321c19(0x1c8)](_0x251f71),_0x251f71;}[_0x29d30(0x1af)](_0x3ffe5d){const _0x58f0ba=_0x29d30;if(!_0x3ffe5d[_0x58f0ba(0x17a)][_0x58f0ba(0x19a)])return;const _0x3357c3=this[_0x58f0ba(0x177)](_0x3ffe5d);if(!_0x3357c3)return;const _0x2da66d=this[_0x58f0ba(0x1b6)][_0x58f0ba(0x1a8)](_0x3357c3),_0x3f166f=this[_0x58f0ba(0x1bd)];_0x3f166f&&_0x3f166f===_0x2da66d?this[_0x58f0ba(0x19b)](_0x3357c3,_0x3ffe5d):this[_0x58f0ba(0x1c2)](_0x3ffe5d,_0x3357c3);}[_0x29d30(0x1a2)](_0x3ff4bf){const _0x307596=_0x29d30;if(!_0x3ff4bf[_0x307596(0x17a)][_0x307596(0x19a)])return;const _0x5f595b=this[_0x307596(0x1aa)](_0x3ff4bf);if(!_0x5f595b)return;const _0x3d94cb=this[_0x307596(0x1b6)][_0x307596(0x1a8)](_0x5f595b),_0x9eb10d=this[_0x307596(0x1b8)][_0x307596(0x174)][_0x307596(0x1a8)](_0x307596(0x1ba)),_0x3f4534=this[_0x307596(0x1bd)];_0x3f4534&&_0x3f4534===_0x3d94cb&&_0x9eb10d?(this[_0x307596(0x1c2)](_0x5f595b,_0x3ff4bf),this[_0x307596(0x19b)](_0x3ff4bf,_0x5f595b)):_0x3f4534&&_0x3f4534===_0x3d94cb?this[_0x307596(0x1c2)](_0x5f595b,_0x3ff4bf):this[_0x307596(0x19b)](_0x3ff4bf,_0x5f595b);}[_0x29d30(0x1a6)](_0x167dba,_0xc60a22){const _0x3d990c=_0x29d30;0x0===this[_0x3d990c(0x1c4)][_0x3d990c(0x19a)]&&setTimeout(()=>{const _0x4e553e=_0x3d990c;for(const {sidebarItemView:_0x171e75,changedProp:_0x5c42ab}of this[_0x4e553e(0x1c4)])_0x4e553e(0x18d)===_0x5c42ab?this[_0x4e553e(0x1af)](_0x171e75):this[_0x4e553e(0x1a2)](_0x171e75);this[_0x4e553e(0x1c4)]=[];},0xa),this[_0x3d990c(0x1c4)][_0x3d990c(0x1bc)]({'sidebarItemView':_0x167dba,'changedProp':_0xc60a22});}[_0x29d30(0x185)](_0x1919a5){const _0x298f32=_0x29d30;return this[_0x298f32(0x1a0)][_0x298f32(0x1a8)](_0x1919a5);}[_0x29d30(0x1ae)](){const _0x1bfcf3=_0x29d30;this[_0x1bfcf3(0x181)](),this[_0x1bfcf3(0x198)][_0x1bfcf3(0x1ae)]();}[_0x29d30(0x189)](_0x472595){const _0x331eed=_0x29d30,_0x592ea1=this[_0x331eed(0x185)](_0x472595);this[_0x331eed(0x181)](_0x592ea1),this[_0x331eed(0x181)](_0x472595[_0x331eed(0x198)]),_0x592ea1[_0x331eed(0x1ae)](),this[_0x331eed(0x1a0)][_0x331eed(0x199)](_0x472595),this[_0x331eed(0x1b6)][_0x331eed(0x199)](_0x592ea1);}[_0x29d30(0x183)](){const _0x5346dd=_0x29d30,_0x1739f5=new _0x3d699d(this[_0x5346dd(0x1b8)][_0x5346dd(0x19d)]);return _0x1739f5[_0x5346dd(0x1b4)](),this['on'](_0x5346dd(0x17b),(_0xd6502e,_0x1e2aea,_0x534a6a,_0x1ed61d)=>{const _0x14a4b0=_0x5346dd;_0x1ed61d&&_0x1739f5[_0x14a4b0(0x18c)](_0x14a4b0(0x1a5)),_0x534a6a?_0x1739f5[_0x14a4b0(0x1c9)](_0x14a4b0(0x1a5))['to'](_0x534a6a,_0x14a4b0(0x1ab)):_0x1739f5[_0x14a4b0(0x1a5)]=null;}),_0x1739f5;}[_0x29d30(0x1b9)](){const _0x508d46=_0x29d30;this[_0x508d46(0x1a3)]=this[_0x508d46(0x19f)]?.[_0x508d46(0x1b2)]?this[_0x508d46(0x185)](this[_0x508d46(0x19f)][_0x508d46(0x1b2)]):null;}[_0x29d30(0x177)](_0x220c4b){const _0x1f97ab=_0x29d30,_0x274595=this[_0x1f97ab(0x1b6)][_0x1f97ab(0x1a8)](_0x220c4b),_0x19c7ef=_0x274595&&this[_0x1f97ab(0x19f)]?.[_0x1f97ab(0x1a8)](this[_0x1f97ab(0x19f)][_0x1f97ab(0x1b1)](_0x274595)-0x1);return _0x19c7ef&&this[_0x1f97ab(0x185)](_0x19c7ef)||null;}[_0x29d30(0x1aa)](_0x3fce0e){const _0x562dab=_0x29d30,_0x1b2d52=this[_0x562dab(0x1b6)][_0x562dab(0x1a8)](_0x3fce0e),_0x402082=_0x1b2d52&&this[_0x562dab(0x19f)]?.[_0x562dab(0x1a8)](this[_0x562dab(0x19f)][_0x562dab(0x1b1)](_0x1b2d52)+0x1);return _0x402082&&this[_0x562dab(0x185)](_0x402082)||null;}[_0x29d30(0x1c2)](_0x418e59,_0x2de2cd){const _0x3b6a61=_0x29d30;_0x418e59[_0x3b6a61(0x179)]();const _0x4f62b6=G(_0x2de2cd[_0x3b6a61(0x1ab)]+this[_0x3b6a61(0x196)],_0x418e59[_0x3b6a61(0x18d)]);return!!_0x4f62b6&&(this[_0x3b6a61(0x1b0)](_0x2de2cd,_0x2de2cd[_0x3b6a61(0x18d)]-_0x4f62b6),!0x0);}[_0x29d30(0x19b)](_0x3a006a,_0x223745){const _0x36fb2d=_0x29d30;_0x3a006a[_0x36fb2d(0x179)]();const _0x2de463=G(_0x3a006a[_0x36fb2d(0x1ab)]+this[_0x36fb2d(0x196)],_0x223745[_0x36fb2d(0x18d)]);return!!_0x2de463&&(this[_0x36fb2d(0x1b0)](_0x223745,_0x223745[_0x36fb2d(0x18d)]+_0x2de463,!0x1),!0x0);}[_0x29d30(0x1c1)](_0x2d0bc7){const _0x2dbc46=_0x29d30,_0x59ede6=this[_0x2dbc46(0x1b6)][_0x2dbc46(0x1a8)](_0x2d0bc7);if(!_0x59ede6||!_0x59ede6[_0x2dbc46(0x186)]||!_0x59ede6[_0x2dbc46(0x1ac)])return;const _0x1a9d85=this[_0x2dbc46(0x1a4)](_0x59ede6,_0x59ede6[_0x2dbc46(0x1ac)]);this[_0x2dbc46(0x1b0)](_0x2d0bc7,_0x1a9d85);}[_0x29d30(0x1a4)](_0x237070,_0x5a243a){const _0x249961=_0x29d30;if(null===_0x5a243a)return 0x0;if(_0x237070[_0x249961(0x186)]instanceof _0x33b14e)return _0x5a243a[_0x249961(0x18d)];{const _0x45f735=new _0x33b14e(this[_0x249961(0x198)][_0x249961(0x18f)])[_0x249961(0x18d)];return _0x5a243a[_0x249961(0x18d)]-_0x45f735;}}[_0x29d30(0x1b0)](_0xa83117,_0xeb438b,_0x315147=this[_0x29d30(0x1b8)][_0x29d30(0x174)][_0x29d30(0x1a8)](_0x29d30(0x1ba))){const _0x602462=_0x29d30;_0x315147&&(_0xeb438b=Math[_0x602462(0x171)](_0xeb438b,this[_0x602462(0x173)](_0xa83117))),_0xa83117[_0x602462(0x18d)]=_0xeb438b;}[_0x29d30(0x173)](_0x1cc250){const _0x3a6e02=_0x29d30;let _0x3d07d0=this[_0x3a6e02(0x177)](_0x1cc250),_0x308489=0x0;for(;_0x3d07d0;)_0x3d07d0[_0x3a6e02(0x179)](),_0x308489+=this[_0x3a6e02(0x196)]+_0x3d07d0[_0x3a6e02(0x1bb)],_0x3d07d0=this[_0x3a6e02(0x177)](_0x3d07d0);return _0x308489;}}function G(_0x46da10,_0x7b9e5e){const _0x5ba90a=_0x29d30;return Math[_0x5ba90a(0x171)](_0x46da10-_0x7b9e5e,0x0);}function g(_0x549223){const _0x4232bc=_0x29d30;return null!==_0x549223&&_0x4232bc(0x193)==typeof _0x549223&&0x1===_0x549223[_0x4232bc(0x191)];}function _0x104a(){const _0x4e11e1=['nodeType','init','object','sidebar-attachtocontainer-missing-container','addAnnotation','_spaceBetweenItems','isAnimationDisabled','view','delete','length','_alignAfterItem','7XsOfVZ','locale','container','_annotations','_annotationToSidebarItemView','Sidebar','_alignForBottomChange','_lastItem','_getTargetTop','minHeight','_recalculate','appendChild','get','remove','_getItemAfter','bottom','targetRect','class','destroy','_alignForTopChange','_setItemTop','getIndex','last','sidebar.container','render','setContainer','_sidebarItemViewToAnnotation','_detachFromContainer','context','_updateLastItem','sidebar.preventScrollOutOfView','height','push','_activeAnnotation','152PaENfy','define','clear','_alignToTargetRect','_alignBeforeItem','change:bottom','_recalculateBuffer','15WZOAIg','refresh','change:top','add','bind','pluginName','change:targetRect','isPremiumPlugin','max','2072330ImvRvd','_getMaxAvailableTop','config','sidebar-setcontainer-invalid-element','199212YLTqYz','_getItemBefore','729114hSsTqX','updateHeight','content','change:_lastItem','46719NWOdul','list','_targetTop','rearrange','99027veiGtt','stopListening','set','_createSidebarView','listenTo','getSidebarItemView','target','225403wyIxIL','_attachToContainer','_destroySidebarItemView','isOfficialPlugin','8rtGmqQ','unbind','top','isActive','element','1741124hfuMQo'];_0x104a=function(){return _0x4e11e1;};return _0x104a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x50d4(){const _0xccd9bb=['number','ck-annotation-counter__badge--edit-mode','1986300sFRtnN','7225SBtYzq','span','counterView','_badge','annotationType','7AkEQBl','add','10TkbWSq','children','302LbLlXn','setTemplate','isDirty','extendTemplate','set','1302sdatQo','1489584mjcQIk','toString','bind','89814PVOECs','bindTemplate','...','ck-annotation-counter__badge','2059024auCQlB','520UbsIHs','icon','ck-annotation-counter','ck-annotation-counter__badge--','1434015QgiMTo'];_0x50d4=function(){return _0xccd9bb;};return _0x50d4();}const _0x2f1dbc=_0x2d2c;function _0x2d2c(_0x5afe5e,_0x3d8c7a){const _0x50d411=_0x50d4();return _0x2d2c=function(_0x2d2c7e,_0x34535a){_0x2d2c7e=_0x2d2c7e-0xd4;let _0x48264a=_0x50d411[_0x2d2c7e];return _0x48264a;},_0x2d2c(_0x5afe5e,_0x3d8c7a);}(function(_0x279e88,_0x4b4fb7){const _0x1b9283=_0x2d2c,_0x3a4f1f=_0x279e88();while(!![]){try{const _0x55d307=parseInt(_0x1b9283(0xf0))/0x1+-parseInt(_0x1b9283(0xe7))/0x2*(-parseInt(_0x1b9283(0xec))/0x3)+-parseInt(_0x1b9283(0xd6))/0x4*(parseInt(_0x1b9283(0xde))/0x5)+parseInt(_0x1b9283(0xdd))/0x6*(-parseInt(_0x1b9283(0xe3))/0x7)+parseInt(_0x1b9283(0xed))/0x8+parseInt(_0x1b9283(0xda))/0x9+parseInt(_0x1b9283(0xe5))/0xa*(parseInt(_0x1b9283(0xd5))/0xb);if(_0x55d307===_0x4b4fb7)break;else _0x3a4f1f['push'](_0x3a4f1f['shift']());}catch(_0x284141){_0x3a4f1f['push'](_0x3a4f1f['shift']());}}}(_0x50d4,0x294cd));import{ButtonView as _0x5417f0,View as _0x404109}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3ecfb2}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x5417f0{[_0x2f1dbc(0xe0)];constructor(_0x3af478){const _0x3976e0=_0x2f1dbc;super(_0x3af478);const _0x5d83a3=this[_0x3976e0(0xf1)];this[_0x3976e0(0xeb)](_0x3976e0(0xe9),!0x1),this[_0x3976e0(0xeb)](_0x3976e0(0xdb),0x0),this[_0x3976e0(0xef)](_0x3976e0(0xe1))['to'](this,_0x3976e0(0xe9),this,_0x3976e0(0xdb),(_0x215100,_0x4eff9d)=>_0x215100?_0x3976e0(0xf2):_0x4eff9d[_0x3976e0(0xee)]()),this[_0x3976e0(0xeb)](_0x3976e0(0xe2),''),this[_0x3976e0(0xd7)]=_0x3ecfb2,this[_0x3976e0(0xea)]({'attributes':{'class':[_0x3976e0(0xd8)]}}),this[_0x3976e0(0xe0)]=new _0x404109(),this[_0x3976e0(0xe0)][_0x3976e0(0xe8)]({'tag':_0x3976e0(0xdf),'attributes':{'class':[_0x3976e0(0xd4),_0x5d83a3['to'](_0x3976e0(0xe2),_0x34b906=>_0x3976e0(0xd9)+_0x34b906),_0x5d83a3['if'](_0x3976e0(0xe9),_0x3976e0(0xdc))]},'children':[{'text':_0x5d83a3['to'](_0x3976e0(0xe1))}]}),this[_0x3976e0(0xe6)][_0x3976e0(0xe4)](this[_0x3976e0(0xe0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1ee0b8=_0x5c68;(function(_0x4933f5,_0x3a35c0){const _0x294784=_0x5c68,_0x539e46=_0x4933f5();while(!![]){try{const _0x52a04b=-parseInt(_0x294784(0x16d))/0x1*(parseInt(_0x294784(0x14c))/0x2)+parseInt(_0x294784(0x149))/0x3+parseInt(_0x294784(0x162))/0x4*(parseInt(_0x294784(0x154))/0x5)+parseInt(_0x294784(0x163))/0x6*(-parseInt(_0x294784(0x14a))/0x7)+-parseInt(_0x294784(0x172))/0x8*(-parseInt(_0x294784(0x16e))/0x9)+parseInt(_0x294784(0x167))/0xa+-parseInt(_0x294784(0x155))/0xb;if(_0x52a04b===_0x3a35c0)break;else _0x539e46['push'](_0x539e46['shift']());}catch(_0x4a0e79){_0x539e46['push'](_0x539e46['shift']());}}}(_0x17d0,0xaeecf));import{View as _0x45d681}from'ckeditor5/src/ui.js';function _0x5c68(_0x316d88,_0xb16a9e){const _0x17d007=_0x17d0();return _0x5c68=function(_0x5c68e4,_0x43f6af){_0x5c68e4=_0x5c68e4-0x143;let _0x1a7a9f=_0x17d007[_0x5c68e4];return _0x1a7a9f;},_0x5c68(_0x316d88,_0xb16a9e);}import{FocusTracker as _0x2f7d90,KeystrokeHandler as _0x11f3f7,uid as _0x33fe83}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x4ecf55}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x45d681{[_0x1ee0b8(0x16c)];['id'];[_0x1ee0b8(0x15d)];[_0x1ee0b8(0x15c)];[_0x1ee0b8(0x147)];[_0x1ee0b8(0x160)];constructor(_0x49a73e,_0x16419a){const _0x5e9314=_0x1ee0b8;super(_0x49a73e),this['id']=_0x33fe83(),this[_0x5e9314(0x16c)]=new _0x2f7d90(),this[_0x5e9314(0x15d)]=new _0x11f3f7(),this[_0x5e9314(0x15d)][_0x5e9314(0x15b)](_0x5e9314(0x14d),(_0x5d49d9,_0x5b8189)=>this[_0x5e9314(0x152)](_0x5e9314(0x14d),_0x5b8189)),this[_0x5e9314(0x15b)](_0x5e9314(0x146),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x5e9314(0x15b)](_0x5e9314(0x158),0x0),this[_0x5e9314(0x15b)](_0x5e9314(0x153),!0x1),this[_0x5e9314(0x15b)](_0x5e9314(0x144),!0x1),this[_0x5e9314(0x15b)](_0x5e9314(0x148),0x0),this[_0x5e9314(0x15b)](_0x5e9314(0x159),''),this[_0x5e9314(0x160)]=_0x4ecf55(()=>this[_0x5e9314(0x165)]()),this[_0x5e9314(0x15c)]=this[_0x5e9314(0x151)](),this[_0x5e9314(0x15c)][_0x5e9314(0x157)](_0x5e9314(0x161),_0x5e9314(0x14b))['to'](this),this[_0x5e9314(0x15c)][_0x5e9314(0x156)](_0x16419a),this[_0x5e9314(0x147)]=_0x16419a;const _0x38a14c=this[_0x5e9314(0x14e)];this[_0x5e9314(0x15e)]({'tag':_0x5e9314(0x164),'attributes':{'class':['ck',_0x5e9314(0x169),_0x5e9314(0x16f),_0x38a14c['if'](_0x5e9314(0x153),_0x5e9314(0x171))],'role':_0x5e9314(0x170)},'children':this[_0x5e9314(0x15c)]});}[_0x1ee0b8(0x166)](){const _0x5c93ad=_0x1ee0b8;super[_0x5c93ad(0x166)](),this[_0x5c93ad(0x16c)][_0x5c93ad(0x156)](this[_0x5c93ad(0x168)]),this[_0x5c93ad(0x15d)][_0x5c93ad(0x15a)](this[_0x5c93ad(0x168)]),this[_0x5c93ad(0x160)][_0x5c93ad(0x143)](this[_0x5c93ad(0x168)]);}[_0x1ee0b8(0x16a)](){const _0x989cbc=_0x1ee0b8;this[_0x989cbc(0x15c)][_0x989cbc(0x150)](),this[_0x989cbc(0x15d)][_0x989cbc(0x16a)](),this[_0x989cbc(0x16c)][_0x989cbc(0x16a)](),this[_0x989cbc(0x160)][_0x989cbc(0x15f)](),super[_0x989cbc(0x16a)]();}[_0x1ee0b8(0x14f)](){const _0x1ac54e=_0x1ee0b8;this[_0x1ac54e(0x15c)][_0x1ac54e(0x145)]&&this[_0x1ac54e(0x15c)][_0x1ac54e(0x145)][_0x1ac54e(0x14f)]();}[_0x1ee0b8(0x165)](){const _0x4dd9a9=_0x1ee0b8,_0x37f58a=this[_0x4dd9a9(0x168)][_0x4dd9a9(0x16b)];_0x37f58a&&(this[_0x4dd9a9(0x158)]=_0x37f58a);}}function _0x17d0(){const _0x53ba61=['detach','_mutationObserver','arrowup','281608ViACaO','4121394LXXRDT','div','_updateHeight','render','10760900QpMImT','element','ck-annotation-wrapper','destroy','clientHeight','focusTracker','102476alxdaP','18wulZnc','ck-rounded-corners','presentation','ck-annotation-wrapper--active','3246504EHyUcW','attach','isDirty','first','targetRect','mainView','length','843465uGuDtu','7nlkQjl','arrowdown','4YuxMhV','Esc','bindTemplate','focus','clear','createCollection','fire','isActive','40kDrAhR','12361151mcuRPr','add','delegate','height','type','listenTo','set','content','keystrokes','setTemplate'];_0x17d0=function(){return _0x53ba61;};return _0x17d0();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x5ca65c=_0x494e;(function(_0x1f1f6a,_0x3522df){const _0x26ea36=_0x494e,_0x562423=_0x1f1f6a();while(!![]){try{const _0x539439=parseInt(_0x26ea36(0x126))/0x1+-parseInt(_0x26ea36(0x11a))/0x2+-parseInt(_0x26ea36(0x105))/0x3*(parseInt(_0x26ea36(0x111))/0x4)+parseInt(_0x26ea36(0x120))/0x5+parseInt(_0x26ea36(0x11d))/0x6+-parseInt(_0x26ea36(0x123))/0x7*(parseInt(_0x26ea36(0x118))/0x8)+-parseInt(_0x26ea36(0x116))/0x9;if(_0x539439===_0x3522df)break;else _0x562423['push'](_0x562423['shift']());}catch(_0x2a0d7a){_0x562423['push'](_0x562423['shift']());}}}(_0x2ed4,0xea6f8));import{View as _0x734b69}from'ckeditor5/src/ui.js';import{toUnit as _0x2667fe}from'ckeditor5/src/utils.js';function _0x494e(_0x1324ba,_0x278b9e){const _0x2ed472=_0x2ed4();return _0x494e=function(_0x494ea6,_0x1da33a){_0x494ea6=_0x494ea6-0x103;let _0x17224e=_0x2ed472[_0x494ea6];return _0x17224e;},_0x494e(_0x1324ba,_0x278b9e);}import{createMutationObserver as _0x5e4fa3}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2667fe('px');export class AnnotationsSidebarItemView extends _0x734b69{[_0x5ca65c(0x10d)];[_0x5ca65c(0x117)];[_0x5ca65c(0x106)];constructor(_0x2862d6){const _0x4af16b=_0x5ca65c;super(_0x2862d6),this[_0x4af16b(0x107)](_0x4af16b(0x103),0x0),this[_0x4af16b(0x107)](_0x4af16b(0x110),0x0),this[_0x4af16b(0x127)](_0x4af16b(0x114))['to'](this,_0x4af16b(0x103),this,_0x4af16b(0x110),(_0x39751d,_0x2c7c6e)=>_0x39751d+_0x2c7c6e),this[_0x4af16b(0x107)](_0x4af16b(0x121),!0x1),this[_0x4af16b(0x106)]=_0x5e4fa3(()=>this[_0x4af16b(0x128)]()),this[_0x4af16b(0x117)]=null,this[_0x4af16b(0x10d)]=this[_0x4af16b(0x10c)](),this[_0x4af16b(0x10d)][_0x4af16b(0x10b)](_0x4af16b(0x11e),_0x4af16b(0x108))['to'](this);const _0x51e123=this[_0x4af16b(0x104)];this[_0x4af16b(0x11c)]({'tag':_0x4af16b(0x124),'attributes':{'class':[_0x4af16b(0x10f),_0x51e123['to'](_0x4af16b(0x121),_0x3607f0=>_0x3607f0?_0x4af16b(0x11f):'')],'style':{'top':_0x51e123['to'](_0x4af16b(0x103),_0x42444d=>Ot(_0x42444d))},'role':_0x4af16b(0x10e)},'children':this[_0x4af16b(0x10d)]});}[_0x5ca65c(0x109)](){const _0x1dd548=_0x5ca65c;super[_0x1dd548(0x109)](),this[_0x1dd548(0x106)][_0x1dd548(0x113)](this[_0x1dd548(0x10a)]);}[_0x5ca65c(0x122)](){const _0x55ed44=_0x5ca65c;this[_0x55ed44(0x10d)][_0x55ed44(0x125)]&&this[_0x55ed44(0x10d)][_0x55ed44(0x125)][_0x55ed44(0x122)]();}[_0x5ca65c(0x128)](){const _0xffcfb9=_0x5ca65c,_0x347b21=this[_0xffcfb9(0x10a)][_0xffcfb9(0x112)];_0x347b21&&(this[_0xffcfb9(0x110)]=_0x347b21);}[_0x5ca65c(0x115)](){const _0x3d98a2=_0x5ca65c;this[_0x3d98a2(0x10d)][_0x3d98a2(0x119)](),this[_0x3d98a2(0x106)][_0x3d98a2(0x11b)](),super[_0x3d98a2(0x115)]();}}function _0x2ed4(){const _0x3deeee=['first','1527856BynNcr','bind','updateHeight','top','bindTemplate','1057278HIkJIx','_mutationObserver','set','arrowdown','render','element','delegate','createCollection','content','presentation','ck-sidebar-item','height','4EJIgzB','clientHeight','attach','bottom','destroy','5178483RPOlkE','_targetTop','59232BaDAuS','clear','2892218nxcygp','detach','setTemplate','3063174ReoxjY','arrowup','ck-sidebar-item--no-animation','6997205EKHTlN','isAnimationDisabled','focus','98GnWmIN','div'];_0x2ed4=function(){return _0x3deeee;};return _0x2ed4();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x21023b=_0x5f22;(function(_0x2f406e,_0x1c518b){const _0x5052fe=_0x5f22,_0x3e061a=_0x2f406e();while(!![]){try{const _0x2becaa=parseInt(_0x5052fe(0x1f8))/0x1+parseInt(_0x5052fe(0x20b))/0x2*(parseInt(_0x5052fe(0x20c))/0x3)+-parseInt(_0x5052fe(0x1ec))/0x4+parseInt(_0x5052fe(0x217))/0x5*(parseInt(_0x5052fe(0x1eb))/0x6)+parseInt(_0x5052fe(0x203))/0x7*(-parseInt(_0x5052fe(0x1f7))/0x8)+-parseInt(_0x5052fe(0x1f6))/0x9*(parseInt(_0x5052fe(0x1f3))/0xa)+parseInt(_0x5052fe(0x1e7))/0xb*(parseInt(_0x5052fe(0x1ee))/0xc);if(_0x2becaa===_0x1c518b)break;else _0x3e061a['push'](_0x3e061a['shift']());}catch(_0x4dcdc8){_0x3e061a['push'](_0x3e061a['shift']());}}}(_0x4c1b,0x61d79));import{View as _0xd3f5bf,FocusCycler as _0x24c363}from'ckeditor5/src/ui.js';import{FocusTracker as _0x20d865,toUnit as _0x25122e}from'ckeditor5/src/utils.js';function _0x5f22(_0x4d6ee4,_0x45fd5a){const _0x4c1b6f=_0x4c1b();return _0x5f22=function(_0x5f2280,_0x570337){_0x5f2280=_0x5f2280-0x1e7;let _0x44259d=_0x4c1b6f[_0x5f2280];return _0x44259d;},_0x5f22(_0x4d6ee4,_0x45fd5a);}import{getTranslation as _0x5e8d8c}from'../../utils/common-translations.js';function _0x4c1b(){const _0x55aee0=['top','length','createCollection','209850UeOPbx','152692yCHLqf','element','60BvEkjK','_updateItemPositionInFocusables','delegate','removed','_setupKeyboardNavigation','2883340oPDCLX','arrowup','focusCycler','18RZaaQz','24VXmuAF','35205hFbChQ','add','render','bindTemplate','focusPrevious','ck-reset','application','uiLanguageDirection','setTemplate','listenTo','focusFirst','852341ptwHqG','added','remove','number','class','change:top','focus','source','2sCVdfo','23853wlclvk','Annotations\x20list','ck-sidebar','set','forEach','change','focusables','focusNext','div','list','arrowdown','10JAUGdU','focusTracker','minHeight','getIndex','Annotations\x20sidebar','2789127zFXfbx'];_0x4c1b=function(){return _0x55aee0;};return _0x4c1b();}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25122e('px');export class AnnotationsSidebarView extends _0xd3f5bf{[_0x21023b(0x215)];[_0x21023b(0x212)];[_0x21023b(0x218)];[_0x21023b(0x1f5)];constructor(_0x2758e){const _0x2f887d=_0x21023b;super(_0x2758e);const _0x1caac5=this[_0x2f887d(0x1fb)];this[_0x2f887d(0x20f)](_0x2f887d(0x219),0x0),this[_0x2f887d(0x20f)](_0x2f887d(0x207),''),this[_0x2f887d(0x215)]=this[_0x2f887d(0x1ea)](),this[_0x2f887d(0x212)]=this[_0x2f887d(0x1ea)](),this[_0x2f887d(0x215)][_0x2f887d(0x1f0)](_0x2f887d(0x1f4),_0x2f887d(0x216))['to'](this),this[_0x2f887d(0x218)]=new _0x20d865(),this[_0x2f887d(0x1f5)]=new _0x24c363({'focusables':this[_0x2f887d(0x212)],'focusTracker':this[_0x2f887d(0x218)]}),this[_0x2f887d(0x200)]({'tag':_0x2f887d(0x214),'attributes':{'class':['ck',_0x2f887d(0x20e),_0x2f887d(0x1fd),_0x1caac5['to'](_0x2f887d(0x207))],'style':{'minHeight':_0x1caac5['to'](_0x2f887d(0x219),_0xe85daf=>_0x2f887d(0x206)==typeof _0xe85daf?Ot(_0xe85daf+0xa):null)},'dir':_0x2758e[_0x2f887d(0x1ff)],'role':_0x2f887d(0x1fe),'aria-label':_0x5e8d8c(_0x2758e,_0x2f887d(0x21b)),'tabindex':0x0},'children':[{'tag':_0x2f887d(0x214),'attributes':{'role':_0x2f887d(0x215),'aria-label':_0x5e8d8c(_0x2758e,_0x2f887d(0x20d))},'children':this[_0x2f887d(0x215)]}]});}[_0x21023b(0x1fa)](){const _0x1dc5e7=_0x21023b;super[_0x1dc5e7(0x1fa)](),this[_0x1dc5e7(0x1f2)]();}[_0x21023b(0x209)](){const _0x1756e6=_0x21023b;this[_0x1756e6(0x1f5)][_0x1756e6(0x202)]();}[_0x21023b(0x1f2)](){const _0x5432dd=_0x21023b;this[_0x5432dd(0x215)][_0x5432dd(0x1f0)](_0x5432dd(0x208))['to'](this),this['on'](_0x5432dd(0x208),_0x151390=>{const _0x3ef21a=_0x5432dd;this[_0x3ef21a(0x1ef)](_0x151390[_0x3ef21a(0x20a)]);}),this[_0x5432dd(0x215)][_0x5432dd(0x210)](_0x2d9da8=>{const _0x2c5177=_0x5432dd;this[_0x2c5177(0x218)][_0x2c5177(0x1f9)](_0x2d9da8[_0x2c5177(0x1ed)]),this[_0x2c5177(0x1ef)](_0x2d9da8);}),this[_0x5432dd(0x215)]['on'](_0x5432dd(0x211),(_0x5720b7,_0x368dd2)=>{const _0x45fabc=_0x5432dd;for(const _0x368104 of _0x368dd2[_0x45fabc(0x1f1)])this[_0x45fabc(0x218)][_0x45fabc(0x205)](_0x368104[_0x45fabc(0x1ed)]),this[_0x45fabc(0x212)][_0x45fabc(0x205)](_0x368104);for(const _0x3c88e2 of _0x368dd2[_0x45fabc(0x204)])this[_0x45fabc(0x218)][_0x45fabc(0x1f9)](_0x3c88e2[_0x45fabc(0x1ed)]),this[_0x45fabc(0x1ef)](_0x3c88e2);}),this['on'](_0x5432dd(0x1f4),()=>{const _0x116bef=_0x5432dd;this[_0x116bef(0x1f5)][_0x116bef(0x1fc)]();}),this['on'](_0x5432dd(0x216),()=>{const _0x48736e=_0x5432dd;this[_0x48736e(0x1f5)][_0x48736e(0x213)]();}),this[_0x5432dd(0x201)](this[_0x5432dd(0x1ed)],_0x5432dd(0x209),()=>{const _0x192615=_0x5432dd;this[_0x192615(0x209)]();});}[_0x21023b(0x1ef)](_0x12d454){const _0x48ca5b=_0x21023b,_0x36580c=this[_0x48ca5b(0x212)][_0x48ca5b(0x21a)](_0x12d454);let _0x220b49,_0x4d9578;for(const _0x1686cd of this[_0x48ca5b(0x212)])if(_0x12d454[_0x48ca5b(0x1e8)]<_0x1686cd[_0x48ca5b(0x1e8)]){_0x220b49=_0x1686cd;break;}if(_0x4d9578=_0x220b49?this[_0x48ca5b(0x212)][_0x48ca5b(0x21a)](_0x220b49):this[_0x48ca5b(0x212)][_0x48ca5b(0x1e9)],-0x1!==_0x36580c){if(_0x36580c===_0x4d9578-0x1)return;this[_0x48ca5b(0x212)][_0x48ca5b(0x205)](_0x12d454),_0x4d9578=_0x220b49?this[_0x48ca5b(0x212)][_0x48ca5b(0x21a)](_0x220b49):this[_0x48ca5b(0x212)][_0x48ca5b(0x1e9)];}this[_0x48ca5b(0x212)][_0x48ca5b(0x1f9)](_0x12d454,_0x4d9578);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9220d9=_0x537a;(function(_0x36eabb,_0x8637f6){const _0x42aac7=_0x537a,_0x2b8fdf=_0x36eabb();while(!![]){try{const _0x505ec4=-parseInt(_0x42aac7(0x1e5))/0x1+-parseInt(_0x42aac7(0x1e6))/0x2*(parseInt(_0x42aac7(0x1dd))/0x3)+-parseInt(_0x42aac7(0x1fe))/0x4*(parseInt(_0x42aac7(0x214))/0x5)+-parseInt(_0x42aac7(0x20b))/0x6*(parseInt(_0x42aac7(0x213))/0x7)+-parseInt(_0x42aac7(0x21a))/0x8+-parseInt(_0x42aac7(0x215))/0x9*(parseInt(_0x42aac7(0x1fd))/0xa)+-parseInt(_0x42aac7(0x1e8))/0xb*(-parseInt(_0x42aac7(0x1e7))/0xc);if(_0x505ec4===_0x8637f6)break;else _0x2b8fdf['push'](_0x2b8fdf['shift']());}catch(_0x2aa673){_0x2b8fdf['push'](_0x2b8fdf['shift']());}}}(_0xf194,0xae069));import{ContextPlugin as _0x137895,Context as _0x2116ce}from'ckeditor5/src/core.js';function _0x537a(_0x499e87,_0x40b3b5){const _0xf194ab=_0xf194();return _0x537a=function(_0x537abc,_0x5abb77){_0x537abc=_0x537abc-0x1d4;let _0x5bf378=_0xf194ab[_0x537abc];return _0x5bf378;},_0x537a(_0x499e87,_0x40b3b5);}import{AnnotationsUIs as _0x14d4c7}from'./annotationsuis.js';import{Sidebar as _0x2c1e37}from'./sidebar.js';import{CKEditorError as _0x4ae27f,Collection as _0x308f31}from'ckeditor5/src/utils.js';import{debounce as _0x2cb829}from'es-toolkit/compat';export class WideSidebar extends _0x137895{[_0x9220d9(0x1e9)];[_0x9220d9(0x1d5)];[_0x9220d9(0x1d6)];[_0x9220d9(0x1d9)];static get[_0x9220d9(0x1f3)](){return[_0x2c1e37,_0x14d4c7];}static get[_0x9220d9(0x200)](){const _0x303098=_0x9220d9;return _0x303098(0x203);}static get[_0x9220d9(0x1d7)](){return!0x0;}static get[_0x9220d9(0x1d4)](){return!0x0;}constructor(_0x525f67){const _0x3cdf36=_0x9220d9;super(_0x525f67),this[_0x3cdf36(0x1e9)]=!0x1,this[_0x3cdf36(0x1de)](_0x3cdf36(0x20d),null),this[_0x3cdf36(0x1d5)]=null,this[_0x3cdf36(0x1d6)]=new _0x308f31(),this[_0x3cdf36(0x1d9)]=_0x2cb829(()=>{const _0x4892a9=_0x3cdf36;_0x525f67[_0x4892a9(0x1df)][_0x4892a9(0x1e3)](_0x4892a9(0x211))[_0x4892a9(0x217)](),this[_0x4892a9(0x1d5)][_0x4892a9(0x1f6)]();},0xfa,{'leading':!0x1});}[_0x9220d9(0x1f2)](){const _0x2b2047=_0x9220d9,_0x2a13b8=this[_0x2b2047(0x205)][_0x2b2047(0x1df)][_0x2b2047(0x1e3)](_0x14d4c7),_0x3db582=this[_0x2b2047(0x205)][_0x2b2047(0x1df)][_0x2b2047(0x1e3)](_0x2c1e37);_0x2a13b8[_0x2b2047(0x207)](_0x2b2047(0x1fc),this),_0x3db582[_0x2b2047(0x1eb)]&&_0x2a13b8[_0x2b2047(0x20c)](_0x2b2047(0x1fc));}[_0x9220d9(0x1f8)](_0x3a0372){const _0x24ed79=_0x9220d9;if(_0x3a0372===this[_0x24ed79(0x20d)])return;const _0x3db7c1=this[_0x24ed79(0x205)][_0x24ed79(0x1df)][_0x24ed79(0x1e3)](_0x2c1e37);_0x3db7c1[_0x24ed79(0x1ed)]=_0x3a0372;const _0x4ecc35=this[_0x24ed79(0x20d)];_0x3db7c1[_0x24ed79(0x20a)]({'blurredAnnotation':_0x4ecc35,'activatedAnnotation':_0x3a0372}),this[_0x24ed79(0x20d)]=_0x3a0372;}[_0x9220d9(0x1ff)](_0x57e78d){const _0x47fd46=_0x9220d9;this[_0x47fd46(0x1d5)]=_0x57e78d;const _0x154a1d=this[_0x47fd46(0x205)][_0x47fd46(0x1df)][_0x47fd46(0x1e3)](_0x2c1e37);if(_0x154a1d[_0x47fd46(0x1f5)]=_0x57e78d,this[_0x47fd46(0x1e9)])throw new _0x4ae27f(_0x47fd46(0x1ee),this);this[_0x47fd46(0x1e9)]=!0x0,this[_0x47fd46(0x1f7)](_0x154a1d,_0x47fd46(0x1e4),()=>{const _0x519bd0=_0x47fd46;this[_0x519bd0(0x21d)](),this[_0x519bd0(0x1f7)](_0x154a1d,_0x519bd0(0x1ef),_0xdccc4b=>{const _0x153268=_0x519bd0;_0xdccc4b[_0x153268(0x201)](),this[_0x153268(0x1ff)](_0x57e78d);});}),_0x154a1d[_0x47fd46(0x202)]({'viewClass':_0x47fd46(0x1da)});const _0x5e28b1=_0x4efb72=>{const _0x228edf=_0x47fd46;_0x4efb72[_0x228edf(0x1f4)](),_0x154a1d[_0x228edf(0x204)](_0x4efb72);};for(const _0x4a2ab0 of _0x57e78d)_0x5e28b1(_0x4a2ab0);this[_0x47fd46(0x1f7)](_0x57e78d,_0x47fd46(0x21b),(_0x40cafe,_0x2a2ee8)=>{_0x5e28b1(_0x2a2ee8);}),this[_0x47fd46(0x1f7)](_0x57e78d,_0x47fd46(0x1d8),(_0x3095de,_0x3adcfe,_0x442ffa)=>{const _0x38089b=_0x47fd46;_0x154a1d[_0x38089b(0x1e1)]({'removedAnnotation':_0x3adcfe,'previousAnnotation':_0x57e78d[_0x38089b(0x1e3)](_0x442ffa-0x1),'nextAnnotation':_0x57e78d[_0x38089b(0x1e3)](_0x442ffa+0x1)}),_0x3adcfe===this[_0x38089b(0x20d)]&&this[_0x38089b(0x1f8)](null);},{'priority':_0x47fd46(0x1ea)}),this[_0x47fd46(0x1f7)](_0x57e78d,_0x47fd46(0x1e2),(_0x5d1dca,_0xb14432)=>{const _0x5cb550=_0x47fd46;this[_0x5cb550(0x1f8)](_0xb14432);}),this[_0x47fd46(0x1f7)](_0x57e78d,_0x47fd46(0x1ec),()=>{const _0x21c60e=_0x47fd46;this[_0x21c60e(0x1f8)](null);});const _0x598da6=this[_0x47fd46(0x205)]instanceof _0x2116ce?this[_0x47fd46(0x205)][_0x47fd46(0x209)]:new _0x308f31([this[_0x47fd46(0x205)]]);for(const _0x43d25a of _0x598da6)this[_0x47fd46(0x212)](_0x43d25a);this[_0x47fd46(0x1f7)](_0x598da6,_0x47fd46(0x21b),(_0x15e6ea,_0x1548c3)=>{const _0x155d32=_0x47fd46;this[_0x155d32(0x1f7)](_0x1548c3,_0x155d32(0x20e),()=>{const _0x475fc0=_0x155d32;this[_0x475fc0(0x212)](_0x1548c3);});}),this[_0x47fd46(0x1f7)](_0x598da6,_0x47fd46(0x1d8),(_0xbc8c2b,_0x41dc2b)=>{const _0xf66ca2=_0x47fd46;_0x41dc2b[_0xf66ca2(0x1df)][_0xf66ca2(0x210)](_0xf66ca2(0x1dc))&&this[_0xf66ca2(0x1fa)](_0x41dc2b[_0xf66ca2(0x1df)][_0xf66ca2(0x1e3)](_0xf66ca2(0x1dc)));}),window[_0x47fd46(0x218)](_0x47fd46(0x1e0),this[_0x47fd46(0x1d9)]),this[_0x47fd46(0x205)][_0x47fd46(0x1df)][_0x47fd46(0x1e3)](_0x47fd46(0x211))[_0x47fd46(0x217)](),this[_0x47fd46(0x1d5)][_0x47fd46(0x1f6)]();}[_0x9220d9(0x21d)](){const _0x2cd78c=_0x9220d9;if(!this[_0x2cd78c(0x1e9)])throw new _0x4ae27f(_0x2cd78c(0x1f0),this);this[_0x2cd78c(0x1f8)](null);const _0x1c4234=this[_0x2cd78c(0x205)][_0x2cd78c(0x1df)][_0x2cd78c(0x1e3)](_0x2c1e37);_0x1c4234[_0x2cd78c(0x1f9)](this[_0x2cd78c(0x1d5)]),this[_0x2cd78c(0x1db)](_0x1c4234),this[_0x2cd78c(0x1db)](this[_0x2cd78c(0x1d5)]),this[_0x2cd78c(0x205)]instanceof _0x2116ce&&this[_0x2cd78c(0x1db)](this[_0x2cd78c(0x205)][_0x2cd78c(0x209)]);for(const _0x45817c of Array[_0x2cd78c(0x20f)](this[_0x2cd78c(0x1d6)]))this[_0x2cd78c(0x1fa)](_0x45817c);window[_0x2cd78c(0x21c)](_0x2cd78c(0x1e0),this[_0x2cd78c(0x1d9)]),this[_0x2cd78c(0x1d9)][_0x2cd78c(0x208)](),this[_0x2cd78c(0x20d)]=null,this[_0x2cd78c(0x1e9)]=!0x1,this[_0x2cd78c(0x1d5)]=null;}[_0x9220d9(0x1f1)](){const _0x53861f=_0x9220d9;this[_0x53861f(0x1e9)]&&this[_0x53861f(0x21d)]();}[_0x9220d9(0x212)](_0x44f5f7){const _0x4de062=_0x9220d9;if(!_0x44f5f7[_0x4de062(0x1df)][_0x4de062(0x210)](_0x4de062(0x1dc)))return;const _0x51dbd5=_0x44f5f7[_0x4de062(0x1df)][_0x4de062(0x1e3)](_0x4de062(0x1dc)),_0x3ea350=()=>{const _0x5b9852=_0x4de062,_0x35cefe=_0x51dbd5[_0x5b9852(0x219)]({'annotations':this[_0x5b9852(0x1d5)],'activeAnnotation':this[_0x5b9852(0x20d)]});this[_0x5b9852(0x1f8)](_0x35cefe[0x0]||null);};this[_0x4de062(0x1f7)](_0x51dbd5,_0x4de062(0x20a),_0x3ea350),this[_0x4de062(0x1f7)](_0x51dbd5,_0x4de062(0x1ec),(_0x1a2621,{isAnnotationTracked:_0x1e3576})=>{const _0xf07ef4=_0x4de062;this[_0xf07ef4(0x20d)]&&_0x1e3576(this[_0xf07ef4(0x20d)])&&this[_0xf07ef4(0x1f8)](null);}),this[_0x4de062(0x1f7)](_0x51dbd5,_0x4de062(0x206),()=>{const _0xf34983=_0x4de062;this[_0xf34983(0x1d9)]();}),this[_0x4de062(0x1f7)](this[_0x4de062(0x1d5)],_0x4de062(0x1ec),_0x3ac838=>{const _0x42305e=_0x4de062;_0x51dbd5[_0x42305e(0x216)]()&&(_0x3ea350(),_0x3ac838[_0x42305e(0x1fb)]());},{'priority':_0x4de062(0x1ea)}),this[_0x4de062(0x1d6)][_0x4de062(0x21b)](_0x51dbd5);}[_0x9220d9(0x1fa)](_0x2904b6){const _0x4d20d2=_0x9220d9;this[_0x4d20d2(0x1db)](_0x2904b6),this[_0x4d20d2(0x1d6)][_0x4d20d2(0x1d8)](_0x2904b6);}}function _0xf194(){const _0x541478=['1399494CmlnYb','switchTo','activeAnnotation','ready','from','has','Annotations','_integrateWithEditorAnnotations','42lVUCKP','1605XVPkuT','9gUHdRT','hasDomSelection','refreshVisibility','addEventListener','getOrderedSelectedAnnotations','4883400Wnylbe','add','removeEventListener','detach','isPremiumPlugin','annotations','_editorAnnotations','isOfficialPlugin','remove','_refreshPositioningDebounced','ck-sidebar--wide','stopListening','EditorAnnotations','66297QRKFlG','set','plugins','resize','rearrange','focus','get','set:container','464774VYzQkP','58GWKmnc','7526904hfdbDs','77krpBiD','isAttached','high','container','blur','_activeAnnotation','widesidebar-attach-already-attached','change:container','widesidebar-detach-not-attached','destroy','init','requires','updateTargetRect','_annotations','refreshPositioning','listenTo','setActiveAnnotation','_detachFromContainer','_destroyEditorAnnotationsIntegration','stop','wideSidebar','4727620rwnluW','1116LEpOEd','attach','pluginName','off','_attachToContainer','WideSidebar','addAnnotation','context','uiUpdate','register','cancel','editors','refresh'];_0xf194=function(){return _0x541478;};return _0xf194();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x555ec2=_0x1f6b;function _0x1f6b(_0xd1d16e,_0x4a75e5){const _0x537e0b=_0x537e();return _0x1f6b=function(_0x1f6b13,_0x1e9b60){_0x1f6b13=_0x1f6b13-0x1a7;let _0x291aed=_0x537e0b[_0x1f6b13];return _0x291aed;},_0x1f6b(_0xd1d16e,_0x4a75e5);}(function(_0x32b858,_0x13bc8e){const _0x22baae=_0x1f6b,_0xf2c16e=_0x32b858();while(!![]){try{const _0x5ae282=-parseInt(_0x22baae(0x1ad))/0x1*(-parseInt(_0x22baae(0x1c9))/0x2)+parseInt(_0x22baae(0x1c3))/0x3*(parseInt(_0x22baae(0x1cc))/0x4)+-parseInt(_0x22baae(0x1db))/0x5*(parseInt(_0x22baae(0x1d6))/0x6)+-parseInt(_0x22baae(0x1b8))/0x7+parseInt(_0x22baae(0x1ac))/0x8*(-parseInt(_0x22baae(0x1b4))/0x9)+parseInt(_0x22baae(0x1d0))/0xa+-parseInt(_0x22baae(0x1bb))/0xb;if(_0x5ae282===_0x13bc8e)break;else _0xf2c16e['push'](_0xf2c16e['shift']());}catch(_0x5e87d1){_0xf2c16e['push'](_0xf2c16e['shift']());}}}(_0x537e,0x474ad));import{Command as _0x4fbfcb}from'ckeditor5/src/core.js';import{uid as _0x2438e6,CKEditorError as _0x465aa9}from'ckeditor5/src/utils.js';function _0x537e(){const _0xff421b=['1895444bLaQtW','isObject','config','plugins','901280BUeoDh','backward','Users','_itemIsContent','model','schema','30ernvwf','get','length','item','selection','107515ptKoLe','comment:','end','getLastMatchingPosition','element','set','getRanges','401048BzwRWn','28047xiiEUY','tableCell','createRange','isEnabled','getItems','start','_trimToContent','27ugxVnc','$textProxy','substr','document','1413195JlwDnu','addCommentThread','change','93632YaINOQ','addcommentthreadcommand-incorrect-ranges','hasContent','_hasContent','editor','_createCommentThread','from','addMarker','3hImhaN','refresh','addcommentthreadcommand-user-not-found','CommentsRepository','execute','push','14BZClbD','_createMarkersFromRanges','collaboration.channelId'];_0x537e=function(){return _0xff421b;};return _0x537e();}export class AddCommentThreadCommand extends _0x4fbfcb{constructor(_0x4c87f8){const _0x2d31fb=_0x1f6b;super(_0x4c87f8),this[_0x2d31fb(0x1aa)](_0x2d31fb(0x1bd),!0x1);}[_0x555ec2(0x1c4)](){const _0x59d4e5=_0x555ec2,_0x4c29f8=this[_0x59d4e5(0x1bf)][_0x59d4e5(0x1d4)][_0x59d4e5(0x1b7)][_0x59d4e5(0x1da)];this[_0x59d4e5(0x1b0)]=!0x0,this[_0x59d4e5(0x1bd)]=!0x1;for(const _0x40a85f of _0x4c29f8[_0x59d4e5(0x1ab)]())if(this[_0x59d4e5(0x1be)](_0x40a85f))return void(this[_0x59d4e5(0x1bd)]=!0x0);}[_0x555ec2(0x1c7)]({threadId:_0x537581=_0x2438e6(),ranges:_0x140c45,comment:_0x11a5a6}={}){const _0x2ad47f=_0x555ec2,_0x566639=this[_0x2ad47f(0x1bf)][_0x2ad47f(0x1d4)],_0x54a1d1=_0x140c45??Array[_0x2ad47f(0x1c1)](_0x566639[_0x2ad47f(0x1b7)][_0x2ad47f(0x1da)][_0x2ad47f(0x1ab)]()),_0x2db58d=[];for(const _0x47148b of _0x54a1d1)this[_0x2ad47f(0x1be)](_0x47148b)&&_0x2db58d[_0x2ad47f(0x1c8)](this[_0x2ad47f(0x1b3)](_0x47148b));if(!_0x2db58d[_0x2ad47f(0x1d8)])throw new _0x465aa9(_0x2ad47f(0x1bc),null);_0x11a5a6&&this[_0x2ad47f(0x1c0)](_0x537581,_0x11a5a6),this[_0x2ad47f(0x1ca)](_0x537581,_0x2db58d,!!_0x11a5a6);}[_0x555ec2(0x1ca)](_0x2f6188,_0x1e77d,_0x12f727){const _0x2bce64=_0x555ec2;this[_0x2bce64(0x1bf)][_0x2bce64(0x1d4)][_0x2bce64(0x1ba)](_0x5e3616=>{const _0x594c57=_0x2bce64;for(const _0x86620 of _0x1e77d){const _0x4f11e4=_0x2438e6()[_0x594c57(0x1b6)](0x1,0x5),_0xa065fa=_0x594c57(0x1dc)+_0x2f6188+':'+_0x4f11e4;_0x5e3616[_0x594c57(0x1c2)](_0xa065fa,{'range':_0x86620,'usingOperation':_0x12f727,'affectsData':_0x12f727});}});}[_0x555ec2(0x1c0)](_0x291941,_0x5cd89c){const _0x4e43b=_0x555ec2,_0x110f3f=this[_0x4e43b(0x1bf)][_0x4e43b(0x1cf)][_0x4e43b(0x1d7)](_0x4e43b(0x1c6)),_0x9e038c=this[_0x4e43b(0x1bf)][_0x4e43b(0x1ce)][_0x4e43b(0x1d7)](_0x4e43b(0x1cb)),_0x38268b=this[_0x4e43b(0x1bf)][_0x4e43b(0x1cf)][_0x4e43b(0x1d7)](_0x4e43b(0x1d2))['me'];if(!_0x38268b)throw new _0x465aa9(_0x4e43b(0x1c5),null);_0x110f3f[_0x4e43b(0x1b9)]({'threadId':_0x291941,'channelId':_0x9e038c,'comments':[{'authorId':_0x38268b['id'],'content':_0x5cd89c,'createdAt':new Date(),'attributes':{}}]});}[_0x555ec2(0x1be)](_0x1c24ff){const _0x4043a3=_0x555ec2;for(const _0x320e67 of _0x1c24ff[_0x4043a3(0x1b1)]())if(this[_0x4043a3(0x1d3)](_0x320e67))return!0x0;return!0x1;}[_0x555ec2(0x1d3)](_0x5e59fb){const _0x1336b1=_0x555ec2;return _0x5e59fb['is'](_0x1336b1(0x1b5))||this[_0x1336b1(0x1bf)][_0x1336b1(0x1d4)][_0x1336b1(0x1d5)][_0x1336b1(0x1cd)](_0x5e59fb)&&!_0x5e59fb['is'](_0x1336b1(0x1a9),_0x1336b1(0x1ae));}[_0x555ec2(0x1b3)](_0x4d5aa8){const _0x372888=_0x555ec2,_0x21099a=_0x36b83b=>!this[_0x372888(0x1d3)](_0x36b83b[_0x372888(0x1d9)]),_0x53826c=_0x4d5aa8[_0x372888(0x1b2)][_0x372888(0x1a8)](_0x21099a),_0x355c4f=_0x4d5aa8[_0x372888(0x1a7)][_0x372888(0x1a8)](_0x21099a,{'direction':_0x372888(0x1d1)});return this[_0x372888(0x1bf)][_0x372888(0x1d4)][_0x372888(0x1af)](_0x53826c,_0x355c4f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3886(){const _0x41e56e=['archivedThreads','12226354yZiluJ','CommentsArchive','8wqWvIl','3233511WUQvbr','_calculatePosition','archivedAt','isOfficialPlugin','length','requires','1122248FlCaZd','collection','init','isPremiumPlugin','30xqvpIG','stopListening','highest','has','670030MLDnZL','getCommentThread','9scQQMb','remove','addCommentThread','40bZmIfq','1513224iqdBtZ','removeCommentThread','14160619DbEsEm','context','isActive','24yZXiBh','2067454nkxbqU','plugins','findIndex','isVisible','get','pluginName','focus','activate','change:archivedAt','listenTo','add'];_0x3886=function(){return _0x41e56e;};return _0x3886();}const _0xa40a99=_0x471f;(function(_0x3df295,_0x35eb66){const _0x3d675c=_0x471f,_0x5391ef=_0x3df295();while(!![]){try{const _0x539290=parseInt(_0x3d675c(0x127))/0x1+-parseInt(_0x3d675c(0x133))/0x2+parseInt(_0x3d675c(0x129))/0x3*(-parseInt(_0x3d675c(0x11f))/0x4)+-parseInt(_0x3d675c(0x123))/0x5*(-parseInt(_0x3d675c(0x12d))/0x6)+parseInt(_0x3d675c(0x116))/0x7*(parseInt(_0x3d675c(0x118))/0x8)+-parseInt(_0x3d675c(0x119))/0x9*(-parseInt(_0x3d675c(0x12c))/0xa)+parseInt(_0x3d675c(0x12f))/0xb*(-parseInt(_0x3d675c(0x132))/0xc);if(_0x539290===_0x35eb66)break;else _0x5391ef['push'](_0x5391ef['shift']());}catch(_0x230a39){_0x5391ef['push'](_0x5391ef['shift']());}}}(_0x3886,0xdfdb9));import{ContextPlugin as _0xa6df6b}from'ckeditor5/src/core.js';import{Collection as _0x532b58}from'ckeditor5/src/utils.js';function _0x471f(_0x1f9ed5,_0xcb1cc4){const _0x388632=_0x3886();return _0x471f=function(_0x471f14,_0x473ab5){_0x471f14=_0x471f14-0x111;let _0x384d8c=_0x388632[_0x471f14];return _0x384d8c;},_0x471f(_0x1f9ed5,_0xcb1cc4);}import{CommentsRepository as _0x21d188}from'./commentsrepository.js';import{Annotations as _0x1bb76b}from'../annotations/annotations.js';export class CommentsArchive extends _0xa6df6b{static get[_0xa40a99(0x138)](){const _0xce695d=_0xa40a99;return _0xce695d(0x117);}static get[_0xa40a99(0x11c)](){return!0x0;}static get[_0xa40a99(0x122)](){return!0x0;}static get[_0xa40a99(0x11e)](){return[_0x21d188,_0x1bb76b];}constructor(_0x1efee1){const _0x556f60=_0xa40a99;super(_0x1efee1),this[_0x556f60(0x115)]=new _0x532b58();}[_0xa40a99(0x121)](){const _0x1d723d=_0xa40a99,_0x3e4a62=this[_0x1d723d(0x130)],_0x1e3983=_0x3e4a62[_0x1d723d(0x134)][_0x1d723d(0x137)](_0x21d188),_0x1f43a5=_0x3e4a62[_0x1d723d(0x134)][_0x1d723d(0x137)](_0x1bb76b);this[_0x1d723d(0x113)](_0x1e3983,_0x1d723d(0x12b),(_0x27aa3e,{threadId:_0xd4dc0f})=>{const _0x5213d3=_0x1d723d,_0x59c864=_0x1e3983[_0x5213d3(0x128)](_0xd4dc0f);_0x59c864[_0x5213d3(0x11b)]&&this[_0x5213d3(0x115)][_0x5213d3(0x114)](_0x59c864,this[_0x5213d3(0x11a)](_0x59c864[_0x5213d3(0x11b)])),this[_0x5213d3(0x113)](_0x59c864,_0x5213d3(0x112),(_0x3c2232,_0x3aacaf,_0x5a09d3)=>{const _0x5d32ba=_0x5213d3;_0x5a09d3?this[_0x5d32ba(0x115)][_0x5d32ba(0x126)](_0x59c864)||this[_0x5d32ba(0x115)][_0x5d32ba(0x114)](_0x59c864,this[_0x5d32ba(0x11a)](_0x59c864[_0x5d32ba(0x11b)])):this[_0x5d32ba(0x115)][_0x5d32ba(0x126)](_0x59c864)&&this[_0x5d32ba(0x115)][_0x5d32ba(0x12a)](_0x59c864);});}),this[_0x1d723d(0x113)](_0x1e3983,_0x1d723d(0x12e),(_0x1b5918,{threadId:_0x549ac2})=>{const _0x3c6bfe=_0x1d723d,_0x34ff54=_0x1e3983[_0x3c6bfe(0x128)](_0x549ac2);this[_0x3c6bfe(0x124)](_0x34ff54),this[_0x3c6bfe(0x115)][_0x3c6bfe(0x126)](_0x34ff54)&&this[_0x3c6bfe(0x115)][_0x3c6bfe(0x12a)](_0x34ff54);},{'priority':_0x1d723d(0x125)}),this[_0x1d723d(0x113)](_0x1f43a5[_0x1d723d(0x120)],_0x1d723d(0x139),(_0x554f55,_0x4f2630)=>{const _0x73768e=_0x1d723d;_0x4f2630[_0x73768e(0x136)]||(_0x4f2630[_0x73768e(0x131)]=!0x0,_0x1f43a5[_0x73768e(0x111)](_0x4f2630));});}[_0xa40a99(0x11a)](_0x24b05e){const _0x3f7bbf=_0xa40a99,_0x371a97=[...this[_0x3f7bbf(0x115)]][_0x3f7bbf(0x135)](_0x54e5ac=>_0x54e5ac[_0x3f7bbf(0x11b)]<_0x24b05e);return _0x371a97>-0x1?_0x371a97:this[_0x3f7bbf(0x115)][_0x3f7bbf(0x11d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11e5ba=_0xb3df;(function(_0x42b261,_0x53af14){const _0x471cfb=_0xb3df,_0x3928cb=_0x42b261();while(!![]){try{const _0x4efa9e=-parseInt(_0x471cfb(0x1bc))/0x1*(parseInt(_0x471cfb(0x1cd))/0x2)+-parseInt(_0x471cfb(0x1df))/0x3*(-parseInt(_0x471cfb(0x1c3))/0x4)+parseInt(_0x471cfb(0x1e0))/0x5+parseInt(_0x471cfb(0x1e1))/0x6+parseInt(_0x471cfb(0x1c4))/0x7*(-parseInt(_0x471cfb(0x1f2))/0x8)+parseInt(_0x471cfb(0x1de))/0x9+parseInt(_0x471cfb(0x1ea))/0xa*(-parseInt(_0x471cfb(0x1ee))/0xb);if(_0x4efa9e===_0x53af14)break;else _0x3928cb['push'](_0x3928cb['shift']());}catch(_0x3e0c11){_0x3928cb['push'](_0x3928cb['shift']());}}}(_0x16f6,0x8a7e4));import'../../theme/commentsarchive.css';import{Plugin as _0x16d324}from'ckeditor5/src/core.js';function _0x16f6(){const _0x43f67f=['innerView','519120fZaBOQ','3zTgjdj','3044520xYTWeU','1318260sUkMmq','isOfficialPlugin','push','isEnabled','findIndex','isVisible','getByInnerView','_toggleDialog','hide','710CKWlIM','stop','menuitemcheckbox','set:isVisible','8063lHJTbM','collaboration.channelId','archivedAt','find','175872xSpsBP','commentsArchiveView','annotationViews','plugins','filter','view','init','CommentsRepository','_pendingThreads','isPremiumPlugin','Annotations','show','has','pluginName','EDITOR_TOP_SIDE','collection','_calculatePosition','locale','remove','listenTo','commentsArchive','_threadToController','_handleNewThread','_createCommentsArchiveButton','componentFactory','tooltip','1QFkhiB','editor','set','forEach','stopListening','focusableElements','indexOf','3404076EKyNYK','336SGaLJb','_hideDialogOnAnnotationEscape','config','escape','channelId','execute','menuBar:commentsArchive','_visibleAnnotations','_addAnnotationToArchive','125540ziCiMc','bind','COMMENTS_ARCHIVE','CommentsArchiveUI','get','requires','isOpen','splice','isOn','includes','return','add','source','length','archivedThreads','Dialog'];_0x16f6=function(){return _0x43f67f;};return _0x16f6();}import{IconCommentsArchive as _0x141f17}from'ckeditor5/src/icons.js';import{ViewCollection as _0x48f459,MenuBarMenuListItemButtonView as _0x30151f,ButtonView as _0x585923,Dialog as _0x3a1e7c,DialogViewPosition as _0x2b1879}from'ckeditor5/src/ui.js';import{getTranslation as _0x470180}from'../utils/common-translations.js';function _0xb3df(_0x7a965b,_0x1a9838){const _0x16f674=_0x16f6();return _0xb3df=function(_0xb3df0e,_0x542094){_0xb3df0e=_0xb3df0e-0x1b7;let _0x407a86=_0x16f674[_0xb3df0e];return _0x407a86;},_0xb3df(_0x7a965b,_0x1a9838);}import{CommentsArchiveView as _0x446146}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xaa966e}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x16d324{[_0x11e5ba(0x1f3)];[_0x11e5ba(0x1f4)];[_0x11e5ba(0x1fa)];static get[_0x11e5ba(0x1ff)](){const _0x3b0b0a=_0x11e5ba;return _0x3b0b0a(0x1d0);}static get[_0x11e5ba(0x1e2)](){return!0x0;}static get[_0x11e5ba(0x1fb)](){return!0x0;}static get[_0x11e5ba(0x1d2)](){return[_0xaa966e,_0x3a1e7c];}constructor(_0x59a8a7){const _0x34749b=_0x11e5ba;super(_0x59a8a7),this[_0x34749b(0x1f4)]=new _0x48f459(),this[_0x34749b(0x1fa)]=[];}[_0x11e5ba(0x1f8)](){const _0x26aa6b=_0x11e5ba,_0x4d5679=this[_0x26aa6b(0x1bd)],_0x2f81e5=this[_0x26aa6b(0x1c5)][_0x26aa6b(0x1ce)](this);_0x4d5679['ui'][_0x26aa6b(0x1ba)][_0x26aa6b(0x1d8)](_0x26aa6b(0x206),()=>this[_0x26aa6b(0x1b9)](_0x585923,!0x0)),_0x4d5679['ui'][_0x26aa6b(0x1ba)][_0x26aa6b(0x1d8)](_0x26aa6b(0x1ca),()=>{const _0xbd3bc9=_0x26aa6b,_0x25785c=this[_0xbd3bc9(0x1b9)](_0x30151f);return _0x25785c[_0xbd3bc9(0x1be)]({'role':_0xbd3bc9(0x1ec)}),_0x25785c;});const _0x248430=_0x4d5679[_0x26aa6b(0x1f5)][_0x26aa6b(0x1d1)](_0xaa966e),_0x3ef805=_0x4d5679[_0x26aa6b(0x1f5)][_0x26aa6b(0x1d1)](_0x26aa6b(0x1fc)),_0x5d0f92=_0x4d5679[_0x26aa6b(0x1f5)][_0x26aa6b(0x1d1)](_0x26aa6b(0x1f9));_0x248430[_0x26aa6b(0x1db)][_0x26aa6b(0x1bf)](_0x171cab=>{const _0x495cf4=_0x26aa6b;this[_0x495cf4(0x1b8)](_0x171cab);}),this[_0x26aa6b(0x205)](_0x248430[_0x26aa6b(0x1db)],_0x26aa6b(0x1d8),(_0x3265f0,_0x2864e7)=>{const _0x8eae9b=_0x26aa6b;this[_0x8eae9b(0x1b8)](_0x2864e7);}),this[_0x26aa6b(0x205)](_0x3ef805[_0x26aa6b(0x201)],_0x26aa6b(0x1d8),(_0x1ba671,_0x4111ab)=>{const _0x395726=_0x26aa6b,_0x2e4001=this[_0x395726(0x1fa)][_0x395726(0x1f1)](_0x12699a=>{const _0x2023e5=_0x395726,_0x366942=_0x5d0f92[_0x2023e5(0x1b7)][_0x2023e5(0x1d1)](_0x12699a);return _0x366942&&_0x4111ab[_0x2023e5(0x1dd)]===_0x366942[_0x2023e5(0x1f7)];});if(_0x2e4001){const _0x380efb=this[_0x395726(0x202)](_0x2e4001[_0x395726(0x1f0)]);this[_0x395726(0x1cc)](_0x4111ab,_0x380efb),this[_0x395726(0x1fa)][_0x395726(0x1d4)](this[_0x395726(0x1fa)][_0x395726(0x1c2)](_0x2e4001),0x1);}}),this[_0x26aa6b(0x205)](_0x248430[_0x26aa6b(0x1db)],_0x26aa6b(0x204),(_0x5a12d4,_0x2c3966)=>{const _0xf68d9f=_0x26aa6b,_0x461ac6=_0x4d5679[_0xf68d9f(0x1c6)][_0xf68d9f(0x1d1)](_0xf68d9f(0x1ef));if(!_0x461ac6||_0x2c3966[_0xf68d9f(0x1c8)]===_0x461ac6){if(this[_0xf68d9f(0x1fa)][_0xf68d9f(0x1d6)](_0x2c3966))this[_0xf68d9f(0x1fa)][_0xf68d9f(0x1d4)](this[_0xf68d9f(0x1fa)][_0xf68d9f(0x1c2)](_0x2c3966),0x1);else{const _0x42da8f=_0x5d0f92[_0xf68d9f(0x1b7)][_0xf68d9f(0x1d1)](_0x2c3966),_0x3fcc3b=_0x3ef805[_0xf68d9f(0x1e7)](_0x42da8f[_0xf68d9f(0x1f7)]);this[_0xf68d9f(0x1f4)][_0xf68d9f(0x204)](_0x3fcc3b[_0xf68d9f(0x1f7)]),this[_0xf68d9f(0x1c0)](_0x3fcc3b),this[_0xf68d9f(0x1c0)](_0x3fcc3b[_0xf68d9f(0x1c1)]);}}}),this[_0x26aa6b(0x205)](_0x3ef805[_0x26aa6b(0x201)],_0x26aa6b(0x1d8),(_0x54ae51,_0x59b30f)=>{const _0x1545d9=_0x26aa6b;this[_0x1545d9(0x205)](_0x59b30f,_0x1545d9(0x1c7),_0x2f81e5);}),this[_0x26aa6b(0x205)](_0x3ef805[_0x26aa6b(0x201)],_0x26aa6b(0x204),(_0x3e5db3,_0x38bac4)=>{const _0x451caa=_0x26aa6b;this[_0x451caa(0x1c0)](_0x38bac4,_0x451caa(0x1c7),_0x2f81e5);});}[_0x11e5ba(0x1cc)](_0x343e3a,_0x218d19){const _0xf522=_0x11e5ba;this[_0xf522(0x205)](_0x343e3a,_0xf522(0x1ed),_0x1d6b35=>{const _0x4deb4b=_0xf522;_0x1d6b35[_0x4deb4b(0x1d7)]=!0x1,_0x1d6b35[_0x4deb4b(0x1eb)]();}),this[_0xf522(0x1f4)][_0xf522(0x1d8)](_0x343e3a[_0xf522(0x1f7)],_0x218d19);}[_0x11e5ba(0x1b8)](_0x2babfb){const _0x360a9f=_0x11e5ba,_0x5b418b=this[_0x360a9f(0x1bd)][_0x360a9f(0x1f5)][_0x360a9f(0x1d1)](_0x360a9f(0x1f9)),_0x32e3b2=this[_0x360a9f(0x1bd)][_0x360a9f(0x1f5)][_0x360a9f(0x1d1)](_0x360a9f(0x1fc)),_0x718daf=this[_0x360a9f(0x1bd)][_0x360a9f(0x1c6)][_0x360a9f(0x1d1)](_0x360a9f(0x1ef));if(!_0x718daf||_0x2babfb[_0x360a9f(0x1c8)]===_0x718daf){const _0x4c57b6=_0x5b418b[_0x360a9f(0x1b7)][_0x360a9f(0x1d1)](_0x2babfb);if(!_0x4c57b6)return void this[_0x360a9f(0x1fa)][_0x360a9f(0x1e3)](_0x2babfb);const _0x7cdff0=this[_0x360a9f(0x202)](_0x2babfb[_0x360a9f(0x1f0)]),_0x9a9574=_0x32e3b2[_0x360a9f(0x1e7)](_0x4c57b6[_0x360a9f(0x1f7)]);_0x9a9574[_0x360a9f(0x1e6)]&&_0x32e3b2[_0x360a9f(0x1cb)][_0x360a9f(0x204)](_0x9a9574),this[_0x360a9f(0x1cc)](_0x9a9574,_0x7cdff0);}}[_0x11e5ba(0x202)](_0x2ec5f8){const _0x41284c=_0x11e5ba,_0x20778e=this[_0x41284c(0x1bd)][_0x41284c(0x1c6)][_0x41284c(0x1d1)](_0x41284c(0x1ef)),_0x39bbf1=[...this[_0x41284c(0x1bd)][_0x41284c(0x1f5)][_0x41284c(0x1d1)](_0xaa966e)[_0x41284c(0x1db)]][_0x41284c(0x1f6)](_0x54e86d=>_0x54e86d[_0x41284c(0x1c8)]===_0x20778e)[_0x41284c(0x1e5)](_0x3302d0=>_0x3302d0[_0x41284c(0x1f0)]<_0x2ec5f8);return _0x39bbf1<0x0||_0x39bbf1>this[_0x41284c(0x1f4)][_0x41284c(0x1da)]?this[_0x41284c(0x1f4)][_0x41284c(0x1da)]:_0x39bbf1-0x1;}[_0x11e5ba(0x1e8)](){const _0x11b98c=_0x11e5ba,_0x2a9fa8=this[_0x11b98c(0x1bd)],_0x1c8b0d=_0x2a9fa8[_0x11b98c(0x1f5)][_0x11b98c(0x1d1)](_0x11b98c(0x1dc));this[_0x11b98c(0x1f3)]||(this[_0x11b98c(0x1f3)]=new _0x446146(_0x2a9fa8[_0x11b98c(0x203)],this[_0x11b98c(0x1f4)])),_0x11b98c(0x206)===_0x1c8b0d['id']?_0x1c8b0d[_0x11b98c(0x1e9)]():_0x1c8b0d[_0x11b98c(0x1fd)]({'id':_0x11b98c(0x206),'title':_0x470180(_0x2a9fa8[_0x11b98c(0x203)],_0x11b98c(0x1cf)),'icon':_0x141f17,'hasCloseButton':!0x0,'content':this[_0x11b98c(0x1f3)],'position':_0x2b1879[_0x11b98c(0x200)]});}[_0x11e5ba(0x1b9)](_0x341aab,_0x9ce99c=!0x1){const _0x34e857=_0x11e5ba,_0x1367b4=this[_0x34e857(0x1bd)][_0x34e857(0x203)],_0x46a5e7=this[_0x34e857(0x1bd)][_0x34e857(0x1f5)][_0x34e857(0x1d1)](_0x34e857(0x1dc)),_0x54f52d=new _0x341aab(_0x1367b4);return _0x54f52d[_0x34e857(0x1ce)](_0x34e857(0x1e4))['to'](this,_0x34e857(0x1e4)),_0x54f52d[_0x34e857(0x1ce)](_0x34e857(0x1d5))['to'](_0x46a5e7,'id',_0x312c75=>_0x34e857(0x206)===_0x312c75),_0x54f52d[_0x34e857(0x1be)]({'label':_0x470180(_0x1367b4,_0x34e857(0x1cf)),'icon':_0x141f17,'isToggleable':!0x0}),_0x9ce99c&&(_0x54f52d[_0x34e857(0x1bb)]=!0x0),this[_0x34e857(0x205)](_0x54f52d,_0x34e857(0x1c9),()=>this[_0x34e857(0x1e8)]()),_0x54f52d;}[_0x11e5ba(0x1c5)]=_0xe2f867=>{const _0x5c1312=_0x11e5ba,_0x5c3c1b=_0xe2f867[_0x5c1312(0x1d9)];if(!this[_0x5c1312(0x1f4)][_0x5c1312(0x1fe)](_0x5c3c1b[_0x5c1312(0x1f7)]))return;const _0xeb09e1=this[_0x5c1312(0x1bd)][_0x5c1312(0x1f5)][_0x5c1312(0x1d1)](_0x5c1312(0x1dc));_0xeb09e1[_0x5c1312(0x1d3)]&&_0x5c1312(0x206)===_0xeb09e1['id']&&(_0xeb09e1[_0x5c1312(0x1e9)](),_0xe2f867[_0x5c1312(0x1eb)]());};}
|