@ckeditor/ckeditor5-comments 43.1.0-alpha.4 → 43.1.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4668(_0x2f8cdc,_0x24ee3e){const _0x5270e0=_0x5270();return _0x4668=function(_0x466840,_0x2abc5c){_0x466840=_0x466840-0xde;let _0x50a3a0=_0x5270e0[_0x466840];return _0x50a3a0;},_0x4668(_0x2f8cdc,_0x24ee3e);}const _0x611fbe=_0x4668;(function(_0xe8e0ae,_0x5c184f){const _0x5db92c=_0x4668,_0x19914b=_0xe8e0ae();while(!![]){try{const _0x30c7b7=-parseInt(_0x5db92c(0x10d))/0x1+-parseInt(_0x5db92c(0x11b))/0x2*(-parseInt(_0x5db92c(0xf6))/0x3)+parseInt(_0x5db92c(0x129))/0x4*(parseInt(_0x5db92c(0x127))/0x5)+parseInt(_0x5db92c(0xf3))/0x6+-parseInt(_0x5db92c(0x123))/0x7*(parseInt(_0x5db92c(0x11c))/0x8)+parseInt(_0x5db92c(0xe8))/0x9+-parseInt(_0x5db92c(0xdf))/0xa;if(_0x30c7b7===_0x5c184f)break;else _0x19914b['push'](_0x19914b['shift']());}catch(_0x2fb4ef){_0x19914b['push'](_0x19914b['shift']());}}}(_0x5270,0x4a79b));import{ContextPlugin as _0x399c5c}from'ckeditor5/src/core.js';import{Rect as _0x29ed3c,CKEditorError as _0x4adb2f}from'ckeditor5/src/utils.js';import _0x1c62b3 from'./view/sidebarview.js';import _0x105ebd from'./view/sidebaritemview.js';export default class D extends _0x399c5c{static get[_0x611fbe(0x118)](){const _0x43c0f3=_0x611fbe;return _0x43c0f3(0x126);}constructor(_0x48bfa3){const _0x5d9c00=_0x611fbe;super(_0x48bfa3),this[_0x5d9c00(0xe2)](_0x5d9c00(0x101),void 0x0),this[_0x5d9c00(0xe9)]=this[_0x5d9c00(0xf9)](),this[_0x5d9c00(0xe2)](_0x5d9c00(0x11f),null),this[_0x5d9c00(0x134)]=0x19,this[_0x5d9c00(0x104)]=new Map(),this[_0x5d9c00(0x130)]=new Map(),this[_0x5d9c00(0x110)][_0x5d9c00(0xef)][_0x5d9c00(0x100)](_0x5d9c00(0x112),!0x1),this[_0x5d9c00(0x12a)]=null,this[_0x5d9c00(0xe3)]=null,this[_0x5d9c00(0x12f)]=[];}[_0x611fbe(0xfa)](){const _0x27e4ed=_0x611fbe,_0x1ad7a6=this[_0x27e4ed(0x110)][_0x27e4ed(0xef)][_0x27e4ed(0x115)](_0x27e4ed(0xe1));_0x1ad7a6&&this[_0x27e4ed(0x125)](_0x1ad7a6);}[_0x611fbe(0x125)](_0xc4e6cc){const _0xad8e4=_0x611fbe;if(!y(_0xc4e6cc))throw new _0x4adb2f(_0xad8e4(0xf4));this[_0xad8e4(0x11f)]=_0xc4e6cc;}[_0x611fbe(0x132)]({viewClass:_0x29c62b='',spaceBetweenItems:_0x3a2341=0x19}={}){const _0x44c040=_0x611fbe;if(!y(this[_0x44c040(0x11f)]))throw new _0x4adb2f(_0x44c040(0x119),this);this[_0x44c040(0x11f)][_0x44c040(0xf5)](this[_0x44c040(0xe9)][_0x44c040(0x120)]),this[_0x44c040(0xe9)][_0x44c040(0x114)]=_0x29c62b,this[_0x44c040(0x134)]=_0x3a2341;}[_0x611fbe(0xf1)]({removedAnnotation:_0x467ee3,previousAnnotation:_0x45b605,nextAnnotation:_0x36533b}){const _0x2ed8a1=_0x611fbe,_0x49929f=this[_0x2ed8a1(0xfe)](_0x467ee3);this[_0x2ed8a1(0xe9)][_0x2ed8a1(0xe0)][_0x2ed8a1(0xfd)](_0x49929f),this[_0x2ed8a1(0xff)](_0x467ee3),_0x45b605&&this[_0x2ed8a1(0xfc)](this[_0x2ed8a1(0xfe)](_0x45b605)),_0x36533b&&this[_0x2ed8a1(0xfc)](this[_0x2ed8a1(0xfe)](_0x36533b)),this[_0x2ed8a1(0xec)]();}[_0x611fbe(0x12c)]({blurredAnnotation:_0x52c061,activatedAnnotation:_0x545e2b,disableAnimationOnActivatedAnnotation:_0x8f1fc3}){const _0x52bee6=_0x611fbe;if(this[_0x52bee6(0xe3)]=_0x545e2b,_0x52c061){_0x52c061[_0x52bee6(0xee)]=!0x1;const _0x1c69cc=this[_0x52bee6(0xfe)](_0x52c061);_0x1c69cc&&_0x8f1fc3&&(_0x1c69cc[_0x52bee6(0x103)]=!0x1);}if(_0x545e2b){const _0x113ef3=this[_0x52bee6(0xfe)](_0x545e2b);_0x113ef3&&(_0x545e2b[_0x52bee6(0xee)]=!0x0,_0x8f1fc3&&(_0x113ef3[_0x52bee6(0x103)]=!0x0,_0x113ef3[_0x52bee6(0x12e)]+=0x1),this[_0x52bee6(0xfc)](_0x113ef3));}}[_0x611fbe(0x10e)](_0xc0ee12){const _0x24f571=_0x611fbe;if(this[_0x24f571(0xe9)][_0x24f571(0x120)][_0x24f571(0xfd)](),_0xc0ee12){for(const _0x5cd052 of _0xc0ee12)this[_0x24f571(0xff)](_0x5cd052);}this[_0x24f571(0xe9)][_0x24f571(0xe0)][_0x24f571(0x111)](),this[_0x24f571(0xe9)][_0x24f571(0x114)]='',this[_0x24f571(0x101)]=null;}[_0x611fbe(0x117)](_0x28dc01,_0x1c240f){const _0x580f68=_0x611fbe;_0x1c240f||(_0x1c240f=_0x28dc01[_0x580f68(0xe9)]);const _0xa02377=new _0x105ebd(this[_0x580f68(0x110)][_0x580f68(0x133)]);this[_0x580f68(0x104)][_0x580f68(0xe2)](_0xa02377,_0x28dc01),this[_0x580f68(0x130)][_0x580f68(0xe2)](_0x28dc01,_0xa02377),_0xa02377[_0x580f68(0xe4)][_0x580f68(0x109)](_0x1c240f),this[_0x580f68(0x135)](_0x28dc01[_0x580f68(0xe9)],_0x580f68(0x107),(_0x1cfd85,_0xa5e1b2,_0x30f984)=>{const _0x3a8e42=_0x580f68,_0x475c19=this[_0x3a8e42(0x121)](_0x28dc01,_0x30f984);_0xa02377[_0x3a8e42(0x105)]!=_0x475c19&&(_0xa02377[_0x3a8e42(0x105)]=_0x475c19,this[_0x3a8e42(0x116)](_0xa02377,_0x475c19));}),this[_0x580f68(0x135)](_0xa02377,_0x580f68(0x10b),()=>{const _0x589c38=_0x580f68;this[_0x589c38(0x10a)](_0xa02377,_0x589c38(0x12e));}),this[_0x580f68(0x135)](_0xa02377,_0x580f68(0x136),()=>{const _0x2e9ec4=_0x580f68;this[_0x2e9ec4(0x10a)](_0xa02377,_0x2e9ec4(0x131));}),this[_0x580f68(0xfc)](_0xa02377);const _0xbc9455=this[_0x580f68(0xf8)](_0xa02377);if(_0xbc9455)this[_0x580f68(0x10c)](_0xbc9455,_0xa02377)||this[_0x580f68(0xfc)](_0xa02377);else this[_0x580f68(0xfc)](_0xa02377);return this[_0x580f68(0xec)](),this[_0x580f68(0xe9)][_0x580f68(0xe0)][_0x580f68(0x109)](_0xa02377),_0xa02377;}[_0x611fbe(0xed)](_0x48da7d){const _0x7ae9a2=_0x611fbe;if(!_0x48da7d[_0x7ae9a2(0xe4)][_0x7ae9a2(0xeb)])return;const _0x46c5a9=this[_0x7ae9a2(0xf8)](_0x48da7d);if(!_0x46c5a9)return;const _0x59a43b=this[_0x7ae9a2(0x104)][_0x7ae9a2(0x115)](_0x46c5a9),_0x375e28=this[_0x7ae9a2(0xe3)];_0x375e28&&_0x375e28===_0x59a43b?this[_0x7ae9a2(0x10c)](_0x46c5a9,_0x48da7d):this[_0x7ae9a2(0xf2)](_0x48da7d,_0x46c5a9);}[_0x611fbe(0xfb)](_0x1f590f){const _0x3d0de9=_0x611fbe;if(!_0x1f590f[_0x3d0de9(0xe4)][_0x3d0de9(0xeb)])return;const _0x1d5482=this[_0x3d0de9(0x124)](_0x1f590f);if(!_0x1d5482)return;const _0x11e339=this[_0x3d0de9(0x104)][_0x3d0de9(0x115)](_0x1d5482),_0x1ae85b=this[_0x3d0de9(0x110)][_0x3d0de9(0xef)][_0x3d0de9(0x115)](_0x3d0de9(0x112)),_0x309ef9=this[_0x3d0de9(0xe3)];_0x309ef9&&_0x309ef9===_0x11e339&&_0x1ae85b?(this[_0x3d0de9(0xf2)](_0x1d5482,_0x1f590f),this[_0x3d0de9(0x10c)](_0x1f590f,_0x1d5482)):_0x309ef9&&_0x309ef9===_0x11e339?this[_0x3d0de9(0xf2)](_0x1d5482,_0x1f590f):this[_0x3d0de9(0x10c)](_0x1f590f,_0x1d5482);}[_0x611fbe(0x10a)](_0x482025,_0x33a0d3){const _0x52f210=_0x611fbe;0x0===this[_0x52f210(0x12f)][_0x52f210(0xeb)]&&setTimeout(()=>{const _0xc77103=_0x52f210;for(const {sidebarItemView:_0x26442b,changedProp:_0x15b8c7}of this[_0xc77103(0x12f)])_0xc77103(0x12e)===_0x15b8c7?this[_0xc77103(0xed)](_0x26442b):this[_0xc77103(0xfb)](_0x26442b);this[_0xc77103(0x12f)]=[];},0xa),this[_0x52f210(0x12f)][_0x52f210(0x12b)]({'sidebarItemView':_0x482025,'changedProp':_0x33a0d3});}[_0x611fbe(0xfe)](_0x277773){const _0x29e90a=_0x611fbe;return this[_0x29e90a(0x130)][_0x29e90a(0x115)](_0x277773);}[_0x611fbe(0xe7)](){const _0x8a92e9=_0x611fbe;this[_0x8a92e9(0xde)](),this[_0x8a92e9(0xe9)][_0x8a92e9(0xe7)]();}[_0x611fbe(0xff)](_0x393b06){const _0x59e691=_0x611fbe,_0xdefbea=this[_0x59e691(0xfe)](_0x393b06);this[_0x59e691(0xde)](_0xdefbea),this[_0x59e691(0xde)](_0x393b06[_0x59e691(0xe9)]),_0xdefbea[_0x59e691(0xe7)](),this[_0x59e691(0x130)][_0x59e691(0x106)](_0x393b06),this[_0x59e691(0x104)][_0x59e691(0x106)](_0xdefbea);}[_0x611fbe(0xf9)](){const _0x1307b2=_0x611fbe,_0x4e04af=new _0x1c62b3(this[_0x1307b2(0x110)][_0x1307b2(0x133)]);return _0x4e04af[_0x1307b2(0x128)](),this['on'](_0x1307b2(0xe6),(_0x45f640,_0x2ef301,_0x431ad9,_0x307da9)=>{const _0x401380=_0x1307b2;_0x307da9&&_0x4e04af[_0x401380(0x11a)](_0x401380(0xe5)),_0x431ad9?_0x4e04af[_0x401380(0xf7)](_0x401380(0xe5))['to'](_0x431ad9,_0x401380(0x131)):_0x4e04af[_0x401380(0xe5)]=null;}),_0x4e04af;}[_0x611fbe(0xec)](){const _0x52ca1c=_0x611fbe;var _0x383483;this[_0x52ca1c(0x101)]=(null===(_0x383483=this[_0x52ca1c(0x12a)])||void 0x0===_0x383483?void 0x0:_0x383483[_0x52ca1c(0xf0)])?this[_0x52ca1c(0xfe)](this[_0x52ca1c(0x12a)][_0x52ca1c(0xf0)]):null;}[_0x611fbe(0xf8)](_0x550fee){const _0x1637b3=_0x611fbe;var _0x2c72dd;const _0x24b253=this[_0x1637b3(0x104)][_0x1637b3(0x115)](_0x550fee),_0x6ded0c=_0x24b253&&(null===(_0x2c72dd=this[_0x1637b3(0x12a)])||void 0x0===_0x2c72dd?void 0x0:_0x2c72dd[_0x1637b3(0x115)](this[_0x1637b3(0x12a)][_0x1637b3(0x122)](_0x24b253)-0x1));return _0x6ded0c&&this[_0x1637b3(0xfe)](_0x6ded0c)||null;}[_0x611fbe(0x124)](_0x253cfa){const _0x18f28e=_0x611fbe;var _0x54eda1;const _0x4d465f=this[_0x18f28e(0x104)][_0x18f28e(0x115)](_0x253cfa),_0x375e60=_0x4d465f&&(null===(_0x54eda1=this[_0x18f28e(0x12a)])||void 0x0===_0x54eda1?void 0x0:_0x54eda1[_0x18f28e(0x115)](this[_0x18f28e(0x12a)][_0x18f28e(0x122)](_0x4d465f)+0x1));return _0x375e60&&this[_0x18f28e(0xfe)](_0x375e60)||null;}[_0x611fbe(0xf2)](_0x2916e4,_0x195237){const _0x5970ec=_0x611fbe;_0x2916e4[_0x5970ec(0x108)]();const _0x1de796=R(_0x195237[_0x5970ec(0x131)]+this[_0x5970ec(0x134)],_0x2916e4[_0x5970ec(0x12e)]);return!!_0x1de796&&(this[_0x5970ec(0x116)](_0x195237,_0x195237[_0x5970ec(0x12e)]-_0x1de796),!0x0);}[_0x611fbe(0x10c)](_0x166baf,_0x42de80){const _0x531001=_0x611fbe;_0x166baf[_0x531001(0x108)]();const _0x3fe226=R(_0x166baf[_0x531001(0x131)]+this[_0x531001(0x134)],_0x42de80[_0x531001(0x12e)]);return!!_0x3fe226&&(this[_0x531001(0x116)](_0x42de80,_0x42de80[_0x531001(0x12e)]+_0x3fe226,!0x1),!0x0);}[_0x611fbe(0xfc)](_0x26410a){const _0x50b882=_0x611fbe,_0x688166=this[_0x50b882(0x104)][_0x50b882(0x115)](_0x26410a);if(!_0x688166||!_0x688166[_0x50b882(0x12d)]||!_0x688166[_0x50b882(0x113)])return;const _0x536942=this[_0x50b882(0x121)](_0x688166,_0x688166[_0x50b882(0x113)]);this[_0x50b882(0x116)](_0x26410a,_0x536942);}[_0x611fbe(0x121)](_0x273294,_0x16c483){const _0x4610f5=_0x611fbe;if(null===_0x16c483)return 0x0;if(_0x273294[_0x4610f5(0x12d)]instanceof _0x29ed3c)return _0x16c483[_0x4610f5(0x12e)];{const _0x4e5a7e=new _0x29ed3c(this[_0x4610f5(0xe9)][_0x4610f5(0x120)])[_0x4610f5(0x12e)];return _0x16c483[_0x4610f5(0x12e)]-_0x4e5a7e;}}[_0x611fbe(0x116)](_0x1289f9,_0x1ee4ec,_0x58dacd=this[_0x611fbe(0x110)][_0x611fbe(0xef)][_0x611fbe(0x115)](_0x611fbe(0x112))){const _0x25a487=_0x611fbe;_0x58dacd&&(_0x1ee4ec=Math[_0x25a487(0x11e)](_0x1ee4ec,this[_0x25a487(0x10f)](_0x1289f9))),_0x1289f9[_0x25a487(0x12e)]=_0x1ee4ec;}[_0x611fbe(0x10f)](_0xd3c4df){const _0x2c7051=_0x611fbe;let _0x2251ac=this[_0x2c7051(0xf8)](_0xd3c4df),_0x2c67dd=0x0;for(;_0x2251ac;)_0x2251ac[_0x2c7051(0x108)](),_0x2c67dd+=this[_0x2c7051(0x134)]+_0x2251ac[_0x2c7051(0xea)],_0x2251ac=this[_0x2c7051(0xf8)](_0x2251ac);return _0x2c67dd;}}function R(_0x351b5f,_0x25fd3a){const _0xf701ad=_0x611fbe;return Math[_0xf701ad(0x11e)](_0x351b5f-_0x25fd3a,0x0);}function y(_0x4e2ea5){const _0x1eb8e5=_0x611fbe;return null!==_0x4e2ea5&&_0x1eb8e5(0x11d)==typeof _0x4e2ea5&&0x1===_0x4e2ea5[_0x1eb8e5(0x102)];}function _0x5270(){const _0x1fabb7=['_annotations','push','refresh','target','top','_recalculateBuffer','_annotationToSidebarItemView','bottom','_attachToContainer','locale','_spaceBetweenItems','listenTo','change:bottom','stopListening','1251990xlDEpm','list','sidebar.container','set','_activeAnnotation','content','minHeight','change:_lastItem','destroy','400041NKGRyC','view','height','length','_updateLastItem','_alignForTopChange','isActive','config','last','rearrange','_alignBeforeItem','1644162JSocOA','sidebar-setcontainer-invalid-element','appendChild','958371GdjAjr','bind','_getItemBefore','_createSidebarView','init','_alignForBottomChange','_alignToTargetRect','remove','getSidebarItemView','_destroySidebarItemView','define','_lastItem','nodeType','isAnimationDisabled','_sidebarItemViewToAnnotation','_targetTop','delete','change:targetRect','updateHeight','add','_recalculate','change:top','_alignAfterItem','230431ibthrE','_detachFromContainer','_getMaxAvailableTop','context','clear','sidebar.preventScrollOutOfView','targetRect','class','get','_setItemTop','addAnnotation','pluginName','sidebar-attachtocontainer-missing-container','unbind','2VPHCKh','8tYRVab','object','max','container','element','_getTargetTop','getIndex','2578205idgrjY','_getItemAfter','setContainer','Sidebar','5aCpxba','render','1564252xmIIuF'];_0x5270=function(){return _0x1fabb7;};return _0x5270();}
|
|
23
|
+
function _0x5c7b(){const _0x562b01=['updateHeight','76601sHAUWd','clear','class','target','last','max','_createSidebarView','_targetTop','pluginName','list','length','isAnimationDisabled','_updateLastItem','set','_alignBeforeItem','209hAeMlm','_getItemAfter','_getMaxAvailableTop','_lastItem','container','context','Sidebar','getSidebarItemView','refresh','rearrange','appendChild','_alignForBottomChange','change:_lastItem','top','locale','change:bottom','remove','1692730MXpDdC','2SPeonE','targetRect','change:top','_activeAnnotation','init','_alignForTopChange','height','470hOEdrw','change:targetRect','get','define','_getTargetTop','listenTo','_recalculateBuffer','_sidebarItemViewToAnnotation','359316mbLQVx','27PDwaGI','sidebar-setcontainer-invalid-element','content','_setItemTop','sidebar.container','add','2495848CszHUj','view','_detachFromContainer','_annotations','1084740ITkcqa','object','render','nodeType','minHeight','config','_alignAfterItem','getIndex','delete','stopListening','366iguxby','setContainer','_recalculate','bottom','destroy','700868TfvcVS','12880MTrRPi','_getItemBefore','sidebar.preventScrollOutOfView','_alignToTargetRect','_attachToContainer','sidebar-attachtocontainer-missing-container','bind','isActive','_destroySidebarItemView','_annotationToSidebarItemView','element','addAnnotation','unbind','_spaceBetweenItems','push'];_0x5c7b=function(){return _0x562b01;};return _0x5c7b();}const _0x5b856f=_0xec07;(function(_0x3ba975,_0x5c092a){const _0xa9929f=_0xec07,_0xb5dae9=_0x3ba975();while(!![]){try{const _0x5b086c=-parseInt(_0xa9929f(0x12d))/0x1*(-parseInt(_0xa9929f(0x15f))/0x2)+parseInt(_0xa9929f(0x11e))/0x3+parseInt(_0xa9929f(0x12e))/0x4*(parseInt(_0xa9929f(0x10b))/0x5)+-parseInt(_0xa9929f(0x128))/0x6*(parseInt(_0xa9929f(0x13e))/0x7)+parseInt(_0xa9929f(0x11a))/0x8*(-parseInt(_0xa9929f(0x114))/0x9)+parseInt(_0xa9929f(0x15e))/0xa+-parseInt(_0xa9929f(0x14d))/0xb*(-parseInt(_0xa9929f(0x113))/0xc);if(_0x5b086c===_0x5c092a)break;else _0xb5dae9['push'](_0xb5dae9['shift']());}catch(_0x1cb200){_0xb5dae9['push'](_0xb5dae9['shift']());}}}(_0x5c7b,0x7a08c));function _0xec07(_0x17f202,_0x28facd){const _0x5c7b11=_0x5c7b();return _0xec07=function(_0xec0728,_0x3a035f){_0xec0728=_0xec0728-0x10a;let _0x1e5966=_0x5c7b11[_0xec0728];return _0x1e5966;},_0xec07(_0x17f202,_0x28facd);}import{ContextPlugin as _0x79385f}from'ckeditor5/src/core.js';import{Rect as _0x1599d9,CKEditorError as _0x39c366}from'ckeditor5/src/utils.js';import _0x34534e from'./view/sidebarview.js';import _0x3805ec from'./view/sidebaritemview.js';export default class D extends _0x79385f{static get[_0x5b856f(0x146)](){const _0x2f9dcf=_0x5b856f;return _0x2f9dcf(0x153);}constructor(_0x499089){const _0x545e32=_0x5b856f;super(_0x499089),this[_0x545e32(0x14b)](_0x545e32(0x150),void 0x0),this[_0x545e32(0x11b)]=this[_0x545e32(0x144)](),this[_0x545e32(0x14b)](_0x545e32(0x151),null),this[_0x545e32(0x13b)]=0x19,this[_0x545e32(0x112)]=new Map(),this[_0x545e32(0x137)]=new Map(),this[_0x545e32(0x152)][_0x545e32(0x123)][_0x545e32(0x10e)](_0x545e32(0x130),!0x1),this[_0x545e32(0x11d)]=null,this[_0x545e32(0x162)]=null,this[_0x545e32(0x111)]=[];}[_0x5b856f(0x163)](){const _0x4f9487=_0x5b856f,_0x38f012=this[_0x4f9487(0x152)][_0x4f9487(0x123)][_0x4f9487(0x10d)](_0x4f9487(0x118));_0x38f012&&this[_0x4f9487(0x129)](_0x38f012);}[_0x5b856f(0x129)](_0x65d48c){const _0x144945=_0x5b856f;if(!y(_0x65d48c))throw new _0x39c366(_0x144945(0x115));this[_0x144945(0x151)]=_0x65d48c;}[_0x5b856f(0x132)]({viewClass:_0x5d75ae='',spaceBetweenItems:_0x4e9796=0x19}={}){const _0x2406d4=_0x5b856f;if(!y(this[_0x2406d4(0x151)]))throw new _0x39c366(_0x2406d4(0x133),this);this[_0x2406d4(0x151)][_0x2406d4(0x157)](this[_0x2406d4(0x11b)][_0x2406d4(0x138)]),this[_0x2406d4(0x11b)][_0x2406d4(0x140)]=_0x5d75ae,this[_0x2406d4(0x13b)]=_0x4e9796;}[_0x5b856f(0x156)]({removedAnnotation:_0x19373d,previousAnnotation:_0x3134ce,nextAnnotation:_0x2d783f}){const _0xab76cf=_0x5b856f,_0x81597d=this[_0xab76cf(0x154)](_0x19373d);this[_0xab76cf(0x11b)][_0xab76cf(0x147)][_0xab76cf(0x15d)](_0x81597d),this[_0xab76cf(0x136)](_0x19373d),_0x3134ce&&this[_0xab76cf(0x131)](this[_0xab76cf(0x154)](_0x3134ce)),_0x2d783f&&this[_0xab76cf(0x131)](this[_0xab76cf(0x154)](_0x2d783f)),this[_0xab76cf(0x14a)]();}[_0x5b856f(0x155)]({blurredAnnotation:_0x454140,activatedAnnotation:_0xa2c7bc,disableAnimationOnActivatedAnnotation:_0x4c4228}){const _0x394408=_0x5b856f;if(this[_0x394408(0x162)]=_0xa2c7bc,_0x454140){_0x454140[_0x394408(0x135)]=!0x1;const _0x4dd014=this[_0x394408(0x154)](_0x454140);_0x4dd014&&_0x4c4228&&(_0x4dd014[_0x394408(0x149)]=!0x1);}if(_0xa2c7bc){const _0x5d1f45=this[_0x394408(0x154)](_0xa2c7bc);_0x5d1f45&&(_0xa2c7bc[_0x394408(0x135)]=!0x0,_0x4c4228&&(_0x5d1f45[_0x394408(0x149)]=!0x0,_0x5d1f45[_0x394408(0x15a)]+=0x1),this[_0x394408(0x131)](_0x5d1f45));}}[_0x5b856f(0x11c)](_0xe73da9){const _0x352335=_0x5b856f;if(this[_0x352335(0x11b)][_0x352335(0x138)][_0x352335(0x15d)](),_0xe73da9){for(const _0x2a2e43 of _0xe73da9)this[_0x352335(0x136)](_0x2a2e43);}this[_0x352335(0x11b)][_0x352335(0x147)][_0x352335(0x13f)](),this[_0x352335(0x11b)][_0x352335(0x140)]='',this[_0x352335(0x150)]=null;}[_0x5b856f(0x139)](_0x1899ba,_0x2e5908){const _0x4ecde7=_0x5b856f;_0x2e5908||(_0x2e5908=_0x1899ba[_0x4ecde7(0x11b)]);const _0x50190c=new _0x3805ec(this[_0x4ecde7(0x152)][_0x4ecde7(0x15b)]);this[_0x4ecde7(0x112)][_0x4ecde7(0x14b)](_0x50190c,_0x1899ba),this[_0x4ecde7(0x137)][_0x4ecde7(0x14b)](_0x1899ba,_0x50190c),_0x50190c[_0x4ecde7(0x116)][_0x4ecde7(0x119)](_0x2e5908),this[_0x4ecde7(0x110)](_0x1899ba[_0x4ecde7(0x11b)],_0x4ecde7(0x10c),(_0x122e33,_0x55ea0f,_0x36051d)=>{const _0x12fbcf=_0x4ecde7,_0x7f0401=this[_0x12fbcf(0x10f)](_0x1899ba,_0x36051d);_0x50190c[_0x12fbcf(0x145)]!=_0x7f0401&&(_0x50190c[_0x12fbcf(0x145)]=_0x7f0401,this[_0x12fbcf(0x117)](_0x50190c,_0x7f0401));}),this[_0x4ecde7(0x110)](_0x50190c,_0x4ecde7(0x161),()=>{const _0x2173b3=_0x4ecde7;this[_0x2173b3(0x12a)](_0x50190c,_0x2173b3(0x15a));}),this[_0x4ecde7(0x110)](_0x50190c,_0x4ecde7(0x15c),()=>{const _0x34c10e=_0x4ecde7;this[_0x34c10e(0x12a)](_0x50190c,_0x34c10e(0x12b));}),this[_0x4ecde7(0x131)](_0x50190c);const _0x4b7f0b=this[_0x4ecde7(0x12f)](_0x50190c);if(_0x4b7f0b)this[_0x4ecde7(0x124)](_0x4b7f0b,_0x50190c)||this[_0x4ecde7(0x131)](_0x50190c);else this[_0x4ecde7(0x131)](_0x50190c);return this[_0x4ecde7(0x14a)](),this[_0x4ecde7(0x11b)][_0x4ecde7(0x147)][_0x4ecde7(0x119)](_0x50190c),_0x50190c;}[_0x5b856f(0x164)](_0x2f6cf8){const _0x36ac1d=_0x5b856f;if(!_0x2f6cf8[_0x36ac1d(0x116)][_0x36ac1d(0x148)])return;const _0x472472=this[_0x36ac1d(0x12f)](_0x2f6cf8);if(!_0x472472)return;const _0x13a553=this[_0x36ac1d(0x112)][_0x36ac1d(0x10d)](_0x472472),_0x170a3b=this[_0x36ac1d(0x162)];_0x170a3b&&_0x170a3b===_0x13a553?this[_0x36ac1d(0x124)](_0x472472,_0x2f6cf8):this[_0x36ac1d(0x14c)](_0x2f6cf8,_0x472472);}[_0x5b856f(0x158)](_0x59a69c){const _0x596cb7=_0x5b856f;if(!_0x59a69c[_0x596cb7(0x116)][_0x596cb7(0x148)])return;const _0x308908=this[_0x596cb7(0x14e)](_0x59a69c);if(!_0x308908)return;const _0x39630f=this[_0x596cb7(0x112)][_0x596cb7(0x10d)](_0x308908),_0x43049d=this[_0x596cb7(0x152)][_0x596cb7(0x123)][_0x596cb7(0x10d)](_0x596cb7(0x130)),_0x25bfe4=this[_0x596cb7(0x162)];_0x25bfe4&&_0x25bfe4===_0x39630f&&_0x43049d?(this[_0x596cb7(0x14c)](_0x308908,_0x59a69c),this[_0x596cb7(0x124)](_0x59a69c,_0x308908)):_0x25bfe4&&_0x25bfe4===_0x39630f?this[_0x596cb7(0x14c)](_0x308908,_0x59a69c):this[_0x596cb7(0x124)](_0x59a69c,_0x308908);}[_0x5b856f(0x12a)](_0x2b914d,_0x1b765f){const _0x4d2a95=_0x5b856f;0x0===this[_0x4d2a95(0x111)][_0x4d2a95(0x148)]&&setTimeout(()=>{const _0x192f1=_0x4d2a95;for(const {sidebarItemView:_0x54e39c,changedProp:_0x103acd}of this[_0x192f1(0x111)])_0x192f1(0x15a)===_0x103acd?this[_0x192f1(0x164)](_0x54e39c):this[_0x192f1(0x158)](_0x54e39c);this[_0x192f1(0x111)]=[];},0xa),this[_0x4d2a95(0x111)][_0x4d2a95(0x13c)]({'sidebarItemView':_0x2b914d,'changedProp':_0x1b765f});}[_0x5b856f(0x154)](_0x1ee46c){const _0x42bba0=_0x5b856f;return this[_0x42bba0(0x137)][_0x42bba0(0x10d)](_0x1ee46c);}[_0x5b856f(0x12c)](){const _0x1d3f83=_0x5b856f;this[_0x1d3f83(0x127)](),this[_0x1d3f83(0x11b)][_0x1d3f83(0x12c)]();}[_0x5b856f(0x136)](_0x6fe662){const _0xd21ca6=_0x5b856f,_0x567ceb=this[_0xd21ca6(0x154)](_0x6fe662);this[_0xd21ca6(0x127)](_0x567ceb),this[_0xd21ca6(0x127)](_0x6fe662[_0xd21ca6(0x11b)]),_0x567ceb[_0xd21ca6(0x12c)](),this[_0xd21ca6(0x137)][_0xd21ca6(0x126)](_0x6fe662),this[_0xd21ca6(0x112)][_0xd21ca6(0x126)](_0x567ceb);}[_0x5b856f(0x144)](){const _0x2643c2=_0x5b856f,_0x22419a=new _0x34534e(this[_0x2643c2(0x152)][_0x2643c2(0x15b)]);return _0x22419a[_0x2643c2(0x120)](),this['on'](_0x2643c2(0x159),(_0x235334,_0x3f09c1,_0x474bde,_0xc4ef7f)=>{const _0x245442=_0x2643c2;_0xc4ef7f&&_0x22419a[_0x245442(0x13a)](_0x245442(0x122)),_0x474bde?_0x22419a[_0x245442(0x134)](_0x245442(0x122))['to'](_0x474bde,_0x245442(0x12b)):_0x22419a[_0x245442(0x122)]=null;}),_0x22419a;}[_0x5b856f(0x14a)](){const _0x438831=_0x5b856f;var _0x216b64;this[_0x438831(0x150)]=(null===(_0x216b64=this[_0x438831(0x11d)])||void 0x0===_0x216b64?void 0x0:_0x216b64[_0x438831(0x142)])?this[_0x438831(0x154)](this[_0x438831(0x11d)][_0x438831(0x142)]):null;}[_0x5b856f(0x12f)](_0x2ea77d){const _0x43b1d0=_0x5b856f;var _0x26e455;const _0x2b7c98=this[_0x43b1d0(0x112)][_0x43b1d0(0x10d)](_0x2ea77d),_0x4fcdfb=_0x2b7c98&&(null===(_0x26e455=this[_0x43b1d0(0x11d)])||void 0x0===_0x26e455?void 0x0:_0x26e455[_0x43b1d0(0x10d)](this[_0x43b1d0(0x11d)][_0x43b1d0(0x125)](_0x2b7c98)-0x1));return _0x4fcdfb&&this[_0x43b1d0(0x154)](_0x4fcdfb)||null;}[_0x5b856f(0x14e)](_0x594621){const _0x4d3410=_0x5b856f;var _0x42f897;const _0x211af2=this[_0x4d3410(0x112)][_0x4d3410(0x10d)](_0x594621),_0x3e761a=_0x211af2&&(null===(_0x42f897=this[_0x4d3410(0x11d)])||void 0x0===_0x42f897?void 0x0:_0x42f897[_0x4d3410(0x10d)](this[_0x4d3410(0x11d)][_0x4d3410(0x125)](_0x211af2)+0x1));return _0x3e761a&&this[_0x4d3410(0x154)](_0x3e761a)||null;}[_0x5b856f(0x14c)](_0x525b3b,_0x6a74be){const _0x2574e5=_0x5b856f;_0x525b3b[_0x2574e5(0x13d)]();const _0x2bded5=R(_0x6a74be[_0x2574e5(0x12b)]+this[_0x2574e5(0x13b)],_0x525b3b[_0x2574e5(0x15a)]);return!!_0x2bded5&&(this[_0x2574e5(0x117)](_0x6a74be,_0x6a74be[_0x2574e5(0x15a)]-_0x2bded5),!0x0);}[_0x5b856f(0x124)](_0xba79bf,_0x281262){const _0x5efa92=_0x5b856f;_0xba79bf[_0x5efa92(0x13d)]();const _0x4ee4bc=R(_0xba79bf[_0x5efa92(0x12b)]+this[_0x5efa92(0x13b)],_0x281262[_0x5efa92(0x15a)]);return!!_0x4ee4bc&&(this[_0x5efa92(0x117)](_0x281262,_0x281262[_0x5efa92(0x15a)]+_0x4ee4bc,!0x1),!0x0);}[_0x5b856f(0x131)](_0x3cf43e){const _0x50b57d=_0x5b856f,_0x108baa=this[_0x50b57d(0x112)][_0x50b57d(0x10d)](_0x3cf43e);if(!_0x108baa||!_0x108baa[_0x50b57d(0x141)]||!_0x108baa[_0x50b57d(0x160)])return;const _0x388d78=this[_0x50b57d(0x10f)](_0x108baa,_0x108baa[_0x50b57d(0x160)]);this[_0x50b57d(0x117)](_0x3cf43e,_0x388d78);}[_0x5b856f(0x10f)](_0x3d0189,_0x15fc91){const _0x7f3f6d=_0x5b856f;if(null===_0x15fc91)return 0x0;if(_0x3d0189[_0x7f3f6d(0x141)]instanceof _0x1599d9)return _0x15fc91[_0x7f3f6d(0x15a)];{const _0x530bcc=new _0x1599d9(this[_0x7f3f6d(0x11b)][_0x7f3f6d(0x138)])[_0x7f3f6d(0x15a)];return _0x15fc91[_0x7f3f6d(0x15a)]-_0x530bcc;}}[_0x5b856f(0x117)](_0x399c15,_0x5e8591,_0x47f6fe=this[_0x5b856f(0x152)][_0x5b856f(0x123)][_0x5b856f(0x10d)](_0x5b856f(0x130))){const _0x4341e4=_0x5b856f;_0x47f6fe&&(_0x5e8591=Math[_0x4341e4(0x143)](_0x5e8591,this[_0x4341e4(0x14f)](_0x399c15))),_0x399c15[_0x4341e4(0x15a)]=_0x5e8591;}[_0x5b856f(0x14f)](_0x1d8888){const _0x30c0c1=_0x5b856f;let _0x3bca57=this[_0x30c0c1(0x12f)](_0x1d8888),_0xd00248=0x0;for(;_0x3bca57;)_0x3bca57[_0x30c0c1(0x13d)](),_0xd00248+=this[_0x30c0c1(0x13b)]+_0x3bca57[_0x30c0c1(0x10a)],_0x3bca57=this[_0x30c0c1(0x12f)](_0x3bca57);return _0xd00248;}}function R(_0x571fd3,_0x34d276){const _0x59dcf5=_0x5b856f;return Math[_0x59dcf5(0x143)](_0x571fd3-_0x34d276,0x0);}function y(_0x3318e6){const _0x4f3098=_0x5b856f;return null!==_0x3318e6&&_0x4f3098(0x11f)==typeof _0x3318e6&&0x1===_0x3318e6[_0x4f3098(0x121)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x403852,_0x402e85){const _0x31942b=_0x45b4,_0x64987b=_0x403852();while(!![]){try{const _0x1d0aca=parseInt(_0x31942b(0x1d2))/0x1+parseInt(_0x31942b(0x1c2))/0x2*(-parseInt(_0x31942b(0x1cf))/0x3)+parseInt(_0x31942b(0x1c9))/0x4+parseInt(_0x31942b(0x1c5))/0x5+parseInt(_0x31942b(0x1bf))/0x6*(parseInt(_0x31942b(0x1c1))/0x7)+parseInt(_0x31942b(0x1d4))/0x8*(-parseInt(_0x31942b(0x1c0))/0x9)+-parseInt(_0x31942b(0x1d7))/0xa*(parseInt(_0x31942b(0x1bc))/0xb);if(_0x1d0aca===_0x402e85)break;else _0x64987b['push'](_0x64987b['shift']());}catch(_0x5426aa){_0x64987b['push'](_0x64987b['shift']());}}}(_0x914c,0x7587f));function _0x914c(){const _0x4509b2=['bind','30rAtlyZ','ck-annotation-counter__badge--','annotationType','set','4923303RjfKcF','ck-annotation-counter__badge','toString','6NtasRY','18hdfYoX','2785664oGAqgr','734fagAZx','add','ck-annotation-counter__badge--edit-mode','4730710eFdBXr','span','bindTemplate','setTemplate','3427384IXpqMj','children','_badge','number','ck-annotation-counter','counterView','5916shnbUS','...','extendTemplate','838036RICLne','isDirty','1964504rnKama','icon'];_0x914c=function(){return _0x4509b2;};return _0x914c();}import{ButtonView as _0x59623c,View as _0x2e832c}from'ckeditor5/src/ui.js';import _0x3485de from'../../../theme/icons/add-comment.svg';function _0x45b4(_0x45e2b9,_0x904c23){const _0x914cb3=_0x914c();return _0x45b4=function(_0x45b450,_0x2ac002){_0x45b450=_0x45b450-0x1b9;let _0x28d55c=_0x914cb3[_0x45b450];return _0x28d55c;},_0x45b4(_0x45e2b9,_0x904c23);}export default class L extends _0x59623c{constructor(_0x218a61){const _0x2cc2d8=_0x45b4;super(_0x218a61);const _0x584641=this[_0x2cc2d8(0x1c7)];this[_0x2cc2d8(0x1bb)](_0x2cc2d8(0x1d3),!0x1),this[_0x2cc2d8(0x1bb)](_0x2cc2d8(0x1cc),0x0),this[_0x2cc2d8(0x1d6)](_0x2cc2d8(0x1cb))['to'](this,_0x2cc2d8(0x1d3),this,_0x2cc2d8(0x1cc),(_0x4359aa,_0x3868ce)=>_0x4359aa?_0x2cc2d8(0x1d0):_0x3868ce[_0x2cc2d8(0x1be)]()),this[_0x2cc2d8(0x1bb)](_0x2cc2d8(0x1ba),''),this[_0x2cc2d8(0x1d5)]=_0x3485de,this[_0x2cc2d8(0x1d1)]({'attributes':{'class':[_0x2cc2d8(0x1cd)]}}),this[_0x2cc2d8(0x1ce)]=new _0x2e832c(),this[_0x2cc2d8(0x1ce)][_0x2cc2d8(0x1c8)]({'tag':_0x2cc2d8(0x1c6),'attributes':{'class':[_0x2cc2d8(0x1bd),_0x584641['to'](_0x2cc2d8(0x1ba),_0x35af0a=>_0x2cc2d8(0x1b9)+_0x35af0a),_0x584641['if'](_0x2cc2d8(0x1d3),_0x2cc2d8(0x1c4))]},'children':[{'text':_0x584641['to'](_0x2cc2d8(0x1cb))}]}),this[_0x2cc2d8(0x1ca)][_0x2cc2d8(0x1c3)](this[_0x2cc2d8(0x1ce)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2214e2=_0xda01;function _0xda01(_0x337733,_0x5e6092){const _0x33d962=_0x33d9();return _0xda01=function(_0xda018b,_0x276481){_0xda018b=_0xda018b-0x1ee;let _0x1ba6ad=_0x33d962[_0xda018b];return _0x1ba6ad;},_0xda01(_0x337733,_0x5e6092);}(function(_0x9456cb,_0x541761){const _0x488de3=_0xda01,_0x355f0f=_0x9456cb();while(!![]){try{const _0x284ff5=-parseInt(_0x488de3(0x1f8))/0x1*(parseInt(_0x488de3(0x1f9))/0x2)+-parseInt(_0x488de3(0x1f6))/0x3*(-parseInt(_0x488de3(0x1fe))/0x4)+-parseInt(_0x488de3(0x20c))/0x5*(parseInt(_0x488de3(0x1ff))/0x6)+parseInt(_0x488de3(0x1f0))/0x7*(parseInt(_0x488de3(0x207))/0x8)+-parseInt(_0x488de3(0x219))/0x9*(parseInt(_0x488de3(0x209))/0xa)+parseInt(_0x488de3(0x202))/0xb+-parseInt(_0x488de3(0x1f3))/0xc;if(_0x284ff5===_0x541761)break;else _0x355f0f['push'](_0x355f0f['shift']());}catch(_0xd91ea5){_0x355f0f['push'](_0x355f0f['shift']());}}}(_0x33d9,0x31ebd));import{View as _0x45452a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3cf5ea,KeystrokeHandler as _0x177cf6,uid as _0x591181}from'ckeditor5/src/utils.js';import _0x138569 from'../../utils/createmutationobserver.js';function _0x33d9(){const _0x3a4c97=['fire','2228568JIxXLp','_updateHeight','ck-annotation-wrapper','31029HWSouv','render','1YnbIRd','132122whtQjr','focus','type','targetRect','arrowdown','116xllUYI','23376MohByO','delegate','element','2077702rbBLZQ','add','attach','destroy','height','184SlNnAb','setTemplate','110UMMbAa','createCollection','detach','130NMpucw','_mutationObserver','ck-annotation-wrapper--active','first','set','length','Esc','arrowup','isActive','clear','mainView','isDirty','clientHeight','112932XfScbX','div','bindTemplate','presentation','listenTo','keystrokes','ck-rounded-corners','focusTracker','62923JgwBWP','content'];_0x33d9=function(){return _0x3a4c97;};return _0x33d9();}import'../../../theme/annotation.css';export default class T extends _0x45452a{constructor(_0x4341ba,_0x103c0d){const _0x3c659d=_0xda01;super(_0x4341ba),this['id']=_0x591181(),this[_0x3c659d(0x1ef)]=new _0x3cf5ea(),this[_0x3c659d(0x21e)]=new _0x177cf6(),this[_0x3c659d(0x21e)][_0x3c659d(0x210)](_0x3c659d(0x212),(_0x5baab1,_0x2f882c)=>this[_0x3c659d(0x1f2)](_0x3c659d(0x212),_0x2f882c)),this[_0x3c659d(0x210)](_0x3c659d(0x1fc),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3c659d(0x210)](_0x3c659d(0x206),0x0),this[_0x3c659d(0x210)](_0x3c659d(0x214),!0x1),this[_0x3c659d(0x210)](_0x3c659d(0x217),!0x1),this[_0x3c659d(0x210)](_0x3c659d(0x211),0x0),this[_0x3c659d(0x210)](_0x3c659d(0x1fb),''),this[_0x3c659d(0x20d)]=_0x138569(()=>this[_0x3c659d(0x1f4)]()),this[_0x3c659d(0x1f1)]=this[_0x3c659d(0x20a)](),this[_0x3c659d(0x1f1)][_0x3c659d(0x200)](_0x3c659d(0x213),_0x3c659d(0x1fd))['to'](this),this[_0x3c659d(0x1f1)][_0x3c659d(0x203)](_0x103c0d),this[_0x3c659d(0x216)]=_0x103c0d;const _0xcdf997=this[_0x3c659d(0x21b)];this[_0x3c659d(0x208)]({'tag':_0x3c659d(0x21a),'attributes':{'class':['ck',_0x3c659d(0x1f5),_0x3c659d(0x1ee),_0xcdf997['if'](_0x3c659d(0x214),_0x3c659d(0x20e))],'role':_0x3c659d(0x21c)},'children':this[_0x3c659d(0x1f1)]});}[_0x2214e2(0x1f7)](){const _0x2d6329=_0x2214e2;super[_0x2d6329(0x1f7)](),this[_0x2d6329(0x1ef)][_0x2d6329(0x203)](this[_0x2d6329(0x201)]),this[_0x2d6329(0x21e)][_0x2d6329(0x21d)](this[_0x2d6329(0x201)]),this[_0x2d6329(0x20d)][_0x2d6329(0x204)](this[_0x2d6329(0x201)]);}[_0x2214e2(0x205)](){const _0x3c0be0=_0x2214e2;this[_0x3c0be0(0x1f1)][_0x3c0be0(0x215)](),this[_0x3c0be0(0x21e)][_0x3c0be0(0x205)](),this[_0x3c0be0(0x1ef)][_0x3c0be0(0x205)](),this[_0x3c0be0(0x20d)][_0x3c0be0(0x20b)](),super[_0x3c0be0(0x205)]();}[_0x2214e2(0x1fa)](){const _0x23f4c4=_0x2214e2;this[_0x23f4c4(0x1f1)][_0x23f4c4(0x20f)]&&this[_0x23f4c4(0x1f1)][_0x23f4c4(0x20f)][_0x23f4c4(0x1fa)]();}[_0x2214e2(0x1f4)](){const _0xe543bd=_0x2214e2,_0x59e413=this[_0xe543bd(0x201)][_0xe543bd(0x218)];_0x59e413&&(this[_0xe543bd(0x206)]=_0x59e413);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24c25c=_0x1001;function _0x460c(){const _0x104ca7=['arrowup','first','ck-sidebar-item--no-animation','2352805HoeiFa','10TvxewA','focus','9cGIdWc','bindTemplate','ck-sidebar-item','presentation','6391319gZmGaV','clientHeight','setTemplate','8bKzXib','arrowdown','destroy','280206ZoqFel','isAnimationDisabled','_targetTop','height','div','clear','82552SgjUEa','updateHeight','createCollection','attach','element','bind','bottom','_mutationObserver','4932430BwYHEq','top','282iuXaxT','set','1685652yAqOJo','30HXGEsF','276KmtIPt','detach','content','401154zsOlVc','delegate','render'];_0x460c=function(){return _0x104ca7;};return _0x460c();}function _0x1001(_0x3e6c5c,_0x559b5e){const _0x460c10=_0x460c();return _0x1001=function(_0x10013b,_0x247414){_0x10013b=_0x10013b-0x18b;let _0x2b26c0=_0x460c10[_0x10013b];return _0x2b26c0;},_0x1001(_0x3e6c5c,_0x559b5e);}(function(_0x423c78,_0x1cbf86){const _0x47a71e=_0x1001,_0xb8b9fc=_0x423c78();while(!![]){try{const _0x258f0b=-parseInt(_0x47a71e(0x1af))/0x1*(parseInt(_0x47a71e(0x1a3))/0x2)+-parseInt(_0x47a71e(0x195))/0x3*(-parseInt(_0x47a71e(0x18b))/0x4)+-parseInt(_0x47a71e(0x198))/0x5*(parseInt(_0x47a71e(0x197))/0x6)+parseInt(_0x47a71e(0x1a2))/0x7*(parseInt(_0x47a71e(0x1ac))/0x8)+parseInt(_0x47a71e(0x1a5))/0x9*(parseInt(_0x47a71e(0x193))/0xa)+parseInt(_0x47a71e(0x1a9))/0xb+-parseInt(_0x47a71e(0x199))/0xc*(-parseInt(_0x47a71e(0x19c))/0xd);if(_0x258f0b===_0x1cbf86)break;else _0xb8b9fc['push'](_0xb8b9fc['shift']());}catch(_0x17c38d){_0xb8b9fc['push'](_0xb8b9fc['shift']());}}}(_0x460c,0xeda63));import{View as _0x24000b}from'ckeditor5/src/ui.js';import{toUnit as _0x54be9d}from'ckeditor5/src/utils.js';import _0x1f302b from'../../utils/createmutationobserver.js';const qt=_0x54be9d('px');export default class H extends _0x24000b{constructor(_0x41d836){const _0x577e76=_0x1001;super(_0x41d836),this[_0x577e76(0x196)](_0x577e76(0x194),0x0),this[_0x577e76(0x196)](_0x577e76(0x1b2),0x0),this[_0x577e76(0x190)](_0x577e76(0x191))['to'](this,_0x577e76(0x194),this,_0x577e76(0x1b2),(_0x2a4ae3,_0x422a4a)=>_0x2a4ae3+_0x422a4a),this[_0x577e76(0x196)](_0x577e76(0x1b0),!0x1),this[_0x577e76(0x192)]=_0x1f302b(()=>this[_0x577e76(0x18c)]()),this[_0x577e76(0x1b1)]=null,this[_0x577e76(0x19b)]=this[_0x577e76(0x18d)](),this[_0x577e76(0x19b)][_0x577e76(0x19d)](_0x577e76(0x19f),_0x577e76(0x1ad))['to'](this);const _0x3abc50=this[_0x577e76(0x1a6)];this[_0x577e76(0x1ab)]({'tag':_0x577e76(0x1b3),'attributes':{'class':[_0x577e76(0x1a7),_0x3abc50['to'](_0x577e76(0x1b0),_0x53b7df=>_0x53b7df?_0x577e76(0x1a1):'')],'style':{'top':_0x3abc50['to'](_0x577e76(0x194),_0x25efa4=>qt(_0x25efa4))},'role':_0x577e76(0x1a8)},'children':this[_0x577e76(0x19b)]});}[_0x24c25c(0x19e)](){const _0x38f5c2=_0x24c25c;super[_0x38f5c2(0x19e)](),this[_0x38f5c2(0x192)][_0x38f5c2(0x18e)](this[_0x38f5c2(0x18f)]);}[_0x24c25c(0x1a4)](){const _0x9820ac=_0x24c25c;this[_0x9820ac(0x19b)][_0x9820ac(0x1a0)]&&this[_0x9820ac(0x19b)][_0x9820ac(0x1a0)][_0x9820ac(0x1a4)]();}[_0x24c25c(0x18c)](){const _0x2a1bef=_0x24c25c,_0x2f645b=this[_0x2a1bef(0x18f)][_0x2a1bef(0x1aa)];_0x2f645b&&(this[_0x2a1bef(0x1b2)]=_0x2f645b);}[_0x24c25c(0x1ae)](){const _0x28e891=_0x24c25c;this[_0x28e891(0x19b)][_0x28e891(0x1b4)](),this[_0x28e891(0x192)][_0x28e891(0x19a)](),super[_0x28e891(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17766f=_0x9fa5;(function(_0x7e0d1c,_0x4b3dca){const _0x612192=_0x9fa5,_0x31568c=_0x7e0d1c();while(!![]){try{const _0x460b67=parseInt(_0x612192(0x1e5))/0x1+-parseInt(_0x612192(0x1c1))/0x2+-parseInt(_0x612192(0x1dc))/0x3+parseInt(_0x612192(0x1c9))/0x4*(-parseInt(_0x612192(0x1e8))/0x5)+-parseInt(_0x612192(0x1d5))/0x6+-parseInt(_0x612192(0x1d0))/0x7*(parseInt(_0x612192(0x1be))/0x8)+parseInt(_0x612192(0x1de))/0x9;if(_0x460b67===_0x4b3dca)break;else _0x31568c['push'](_0x31568c['shift']());}catch(_0x5dbf0a){_0x31568c['push'](_0x31568c['shift']());}}}(_0x145f,0xeac92));import{View as _0x34ded8,FocusCycler as _0x1d21e4}from'ckeditor5/src/ui.js';import{FocusTracker as _0xe19d77,toUnit as _0x336ce9}from'ckeditor5/src/utils.js';import{getTranslation as _0x35cb94}from'../../utils/common-translations.js';function _0x9fa5(_0x2cd50a,_0x4c8aa0){const _0x145fd3=_0x145f();return _0x9fa5=function(_0x9fa593,_0x377a8e){_0x9fa593=_0x9fa593-0x1bb;let _0x54213a=_0x145fd3[_0x9fa593];return _0x54213a;},_0x9fa5(_0x2cd50a,_0x4c8aa0);}import'../../../theme/sidebar.css';const qt=_0x336ce9('px');export default class V extends _0x34ded8{constructor(_0x3ccfbf){const _0x306862=_0x9fa5;super(_0x3ccfbf);const _0x98e6e3=this[_0x306862(0x1e4)];this[_0x306862(0x1bf)](_0x306862(0x1e2),0x0),this[_0x306862(0x1bf)](_0x306862(0x1c3),''),this[_0x306862(0x1cb)]=this[_0x306862(0x1cc)](),this[_0x306862(0x1c0)]=this[_0x306862(0x1cc)](),this[_0x306862(0x1cb)][_0x306862(0x1d8)](_0x306862(0x1db),_0x306862(0x1cf))['to'](this),this[_0x306862(0x1e6)]=new _0xe19d77(),this[_0x306862(0x1e3)]=new _0x1d21e4({'focusables':this[_0x306862(0x1c0)],'focusTracker':this[_0x306862(0x1e6)]}),this[_0x306862(0x1d4)]({'tag':_0x306862(0x1ce),'attributes':{'class':['ck',_0x306862(0x1c4),_0x306862(0x1d2),_0x98e6e3['to'](_0x306862(0x1c3))],'style':{'minHeight':_0x98e6e3['to'](_0x306862(0x1e2),_0x36ddb9=>_0x306862(0x1ea)==typeof _0x36ddb9?qt(_0x36ddb9+0xa):null)},'dir':_0x3ccfbf[_0x306862(0x1da)],'role':_0x306862(0x1bd),'aria-label':_0x35cb94(_0x3ccfbf,_0x306862(0x1d7)),'tabindex':0x0},'children':[{'tag':_0x306862(0x1ce),'attributes':{'role':_0x306862(0x1cb),'aria-label':_0x35cb94(_0x3ccfbf,_0x306862(0x1e7))},'children':this[_0x306862(0x1cb)]}]});}[_0x17766f(0x1df)](){const _0x54dde2=_0x17766f;super[_0x54dde2(0x1df)](),this[_0x54dde2(0x1ec)]();}[_0x17766f(0x1bc)](){const _0x47dd7d=_0x17766f;this[_0x47dd7d(0x1e3)][_0x47dd7d(0x1cd)]();}[_0x17766f(0x1ec)](){const _0x1e009a=_0x17766f;this[_0x1e009a(0x1cb)][_0x1e009a(0x1d8)](_0x1e009a(0x1e1))['to'](this),this['on'](_0x1e009a(0x1e1),_0x5a4878=>{const _0x194107=_0x1e009a;this[_0x194107(0x1d9)](_0x5a4878[_0x194107(0x1c2)]);}),this[_0x1e009a(0x1cb)][_0x1e009a(0x1c6)](_0x464ee9=>{const _0x1fab83=_0x1e009a;this[_0x1fab83(0x1e6)][_0x1fab83(0x1e0)](_0x464ee9[_0x1fab83(0x1d3)]),this[_0x1fab83(0x1d9)](_0x464ee9);}),this[_0x1e009a(0x1cb)]['on'](_0x1e009a(0x1c7),(_0x36d5bd,_0x46f764)=>{const _0x213c04=_0x1e009a;for(const _0x1696d8 of _0x46f764[_0x213c04(0x1d6)])this[_0x213c04(0x1e6)][_0x213c04(0x1c5)](_0x1696d8[_0x213c04(0x1d3)]),this[_0x213c04(0x1c0)][_0x213c04(0x1c5)](_0x1696d8);for(const _0x5c49be of _0x46f764[_0x213c04(0x1e9)])this[_0x213c04(0x1e6)][_0x213c04(0x1e0)](_0x5c49be[_0x213c04(0x1d3)]),this[_0x213c04(0x1d9)](_0x5c49be);}),this['on'](_0x1e009a(0x1db),()=>{const _0x2612b1=_0x1e009a;this[_0x2612b1(0x1e3)][_0x2612b1(0x1bb)]();}),this['on'](_0x1e009a(0x1cf),()=>{const _0x4013d2=_0x1e009a;this[_0x4013d2(0x1e3)][_0x4013d2(0x1ca)]();}),this[_0x1e009a(0x1d1)](this[_0x1e009a(0x1d3)],_0x1e009a(0x1bc),()=>{const _0x4ff738=_0x1e009a;this[_0x4ff738(0x1bc)]();});}[_0x17766f(0x1d9)](_0x1ac1fa){const _0x115ecf=_0x17766f,_0x5a23c0=this[_0x115ecf(0x1c0)][_0x115ecf(0x1c8)](_0x1ac1fa);let _0x32e938,_0x1a9f64;for(const _0x4df5fd of this[_0x115ecf(0x1c0)])if(_0x1ac1fa[_0x115ecf(0x1eb)]<_0x4df5fd[_0x115ecf(0x1eb)]){_0x32e938=_0x4df5fd;break;}if(_0x1a9f64=_0x32e938?this[_0x115ecf(0x1c0)][_0x115ecf(0x1c8)](_0x32e938):this[_0x115ecf(0x1c0)][_0x115ecf(0x1dd)],-0x1!==_0x5a23c0){if(_0x5a23c0===_0x1a9f64-0x1)return;this[_0x115ecf(0x1c0)][_0x115ecf(0x1c5)](_0x1ac1fa),_0x1a9f64=_0x32e938?this[_0x115ecf(0x1c0)][_0x115ecf(0x1c8)](_0x32e938):this[_0x115ecf(0x1c0)][_0x115ecf(0x1dd)];}this[_0x115ecf(0x1c0)][_0x115ecf(0x1e0)](_0x1ac1fa,_0x1a9f64);}}function _0x145f(){const _0x56464d=['element','setTemplate','1254552afdyGb','removed','Annotations\x20sidebar','delegate','_updateItemPositionInFocusables','uiLanguageDirection','arrowup','4913421gzthhu','length','33039765dmvbkJ','render','add','change:top','minHeight','focusCycler','bindTemplate','941743wcxPSj','focusTracker','Annotations\x20list','10JgOyAj','added','number','top','_setupKeyboardNavigation','focusPrevious','focus','application','7733312SICZsq','set','focusables','9298TWYdWN','source','class','ck-sidebar','remove','forEach','change','getIndex','1665868oeDzJc','focusNext','list','createCollection','focusFirst','div','arrowdown','7xacrMB','listenTo','ck-reset'];_0x145f=function(){return _0x56464d;};return _0x145f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54eac1=_0x2b07;(function(_0x15ca87,_0x488d85){const _0x5a64ca=_0x2b07,_0x56d988=_0x15ca87();while(!![]){try{const _0x1132f1=-parseInt(_0x5a64ca(0x185))/0x1+parseInt(_0x5a64ca(0x176))/0x2+-parseInt(_0x5a64ca(0x16f))/0x3+-parseInt(_0x5a64ca(0x18a))/0x4+parseInt(_0x5a64ca(0x16d))/0x5*(-parseInt(_0x5a64ca(0x18c))/0x6)+-parseInt(_0x5a64ca(0x178))/0x7+-parseInt(_0x5a64ca(0x170))/0x8*(-parseInt(_0x5a64ca(0x15c))/0x9);if(_0x1132f1===_0x488d85)break;else _0x56d988['push'](_0x56d988['shift']());}catch(_0x1e88e0){_0x56d988['push'](_0x56d988['shift']());}}}(_0x4102,0x277da));function _0x2b07(_0x34dd97,_0x2b2f7f){const _0x4102c5=_0x4102();return _0x2b07=function(_0x2b07d2,_0x3c1216){_0x2b07d2=_0x2b07d2-0x14f;let _0x41fd60=_0x4102c5[_0x2b07d2];return _0x41fd60;},_0x2b07(_0x34dd97,_0x2b2f7f);}function _0x4102(){const _0x17c384=['attach','pluginName','stopListening','from','refreshPositioning','off','context','high','get','register','container','90507faiDKz','_destroyEditorAnnotationsIntegration','requires','change:container','_activeAnnotation','479812dRoFYF','ready','6RWSmxc','init','set','blur','resize','plugins','add','_integrateWithEditorAnnotations','WideSidebar','hasDomSelection','_attachToContainer','removeEventListener','widesidebar-attach-already-attached','widesidebar-detach-not-attached','focus','getOrderedSelectedAnnotations','rearrange','EditorAnnotations','cancel','18jsJCUF','activeAnnotation','isAttached','_refreshPositioningDebounced','refresh','destroy','annotations','_detachFromContainer','wideSidebar','editors','uiUpdate','addAnnotation','_annotations','listenTo','setActiveAnnotation','_editorAnnotations','stop','999660RtBybw','ck-sidebar--wide','49956PnetHr','2116672AslOnG','set:container','switchTo','detach','has','remove','271796zcptkd','addEventListener','533876OyCaxg','updateTargetRect'];_0x4102=function(){return _0x17c384;};return _0x4102();}import{ContextPlugin as _0x3bbd20,Context as _0x21d200}from'ckeditor5/src/core.js';import _0x4a2fe9 from'./annotationsuis.js';import _0x412a17 from'./sidebar.js';import{CKEditorError as _0x4a1d86,Collection as _0x5f0f98}from'ckeditor5/src/utils.js';import{debounce as _0x40fab4}from'lodash-es';export default class n extends _0x3bbd20{static get[_0x54eac1(0x187)](){return[_0x412a17,_0x4a2fe9];}static get[_0x54eac1(0x17b)](){const _0x2ea5e2=_0x54eac1;return _0x2ea5e2(0x151);}constructor(_0x2df0cc){const _0x36fe61=_0x54eac1;super(_0x2df0cc),this[_0x36fe61(0x15e)]=!0x1,this[_0x36fe61(0x18e)](_0x36fe61(0x15d),null),this[_0x36fe61(0x162)]=null,this[_0x36fe61(0x16b)]=new _0x5f0f98(),this[_0x36fe61(0x15f)]=_0x40fab4(()=>{const _0x211ab1=_0x36fe61;this[_0x211ab1(0x162)][_0x211ab1(0x17e)]();},0xfa,{'leading':!0x1});}[_0x54eac1(0x18d)](){const _0x4f5f47=_0x54eac1,_0x966b8e=this[_0x4f5f47(0x180)][_0x4f5f47(0x191)][_0x4f5f47(0x182)](_0x4a2fe9),_0x34c12d=this[_0x4f5f47(0x180)][_0x4f5f47(0x191)][_0x4f5f47(0x182)](_0x412a17);_0x966b8e[_0x4f5f47(0x183)](_0x4f5f47(0x164),this),_0x34c12d[_0x4f5f47(0x184)]&&_0x966b8e[_0x4f5f47(0x172)](_0x4f5f47(0x164));}[_0x54eac1(0x16a)](_0x5d0e38){const _0x387b24=_0x54eac1;if(_0x5d0e38===this[_0x387b24(0x15d)])return;const _0x4e4152=this[_0x387b24(0x180)][_0x387b24(0x191)][_0x387b24(0x182)](_0x412a17);_0x4e4152[_0x387b24(0x189)]=_0x5d0e38;const _0x42b905=this[_0x387b24(0x15d)];this[_0x387b24(0x15d)]=_0x5d0e38,_0x4e4152[_0x387b24(0x160)]({'blurredAnnotation':_0x42b905,'activatedAnnotation':this[_0x387b24(0x15d)]});}[_0x54eac1(0x17a)](_0x1cbba4){const _0x1ab12b=_0x54eac1;this[_0x1ab12b(0x162)]=_0x1cbba4;const _0x580aed=this[_0x1ab12b(0x180)][_0x1ab12b(0x191)][_0x1ab12b(0x182)](_0x412a17);if(_0x580aed[_0x1ab12b(0x168)]=_0x1cbba4,this[_0x1ab12b(0x15e)])throw new _0x4a1d86(_0x1ab12b(0x155),this);this[_0x1ab12b(0x15e)]=!0x0,this[_0x1ab12b(0x169)](_0x580aed,_0x1ab12b(0x171),()=>{const _0x540c78=_0x1ab12b;this[_0x540c78(0x173)](),this[_0x540c78(0x169)](_0x580aed,_0x540c78(0x188),_0x3fc3fa=>{const _0x2ec5d0=_0x540c78;_0x3fc3fa[_0x2ec5d0(0x17f)](),this[_0x2ec5d0(0x17a)](_0x1cbba4);});}),_0x580aed[_0x1ab12b(0x153)]({'viewClass':_0x1ab12b(0x16e)});const _0x31baa3=_0x5fb93f=>{const _0x20c86f=_0x1ab12b;_0x5fb93f[_0x20c86f(0x179)](),_0x580aed[_0x20c86f(0x167)](_0x5fb93f);};for(const _0x576e4d of _0x1cbba4)_0x31baa3(_0x576e4d);this[_0x1ab12b(0x169)](_0x1cbba4,_0x1ab12b(0x14f),(_0xa0186e,_0x31b255)=>{_0x31baa3(_0x31b255);}),this[_0x1ab12b(0x169)](_0x1cbba4,_0x1ab12b(0x175),(_0x136a89,_0x3917d9,_0x47a7d1)=>{const _0x226207=_0x1ab12b;_0x580aed[_0x226207(0x159)]({'removedAnnotation':_0x3917d9,'previousAnnotation':_0x1cbba4[_0x226207(0x182)](_0x47a7d1-0x1),'nextAnnotation':_0x1cbba4[_0x226207(0x182)](_0x47a7d1+0x1)}),_0x3917d9===this[_0x226207(0x15d)]&&this[_0x226207(0x16a)](null);},{'priority':_0x1ab12b(0x181)}),this[_0x1ab12b(0x169)](_0x1cbba4,_0x1ab12b(0x157),(_0x2a9dfc,_0x1e08d0)=>{const _0x6ce865=_0x1ab12b;this[_0x6ce865(0x16a)](_0x1e08d0);}),this[_0x1ab12b(0x169)](_0x1cbba4,_0x1ab12b(0x18f),()=>{const _0x4b9849=_0x1ab12b;this[_0x4b9849(0x16a)](null);});const _0x158944=this[_0x1ab12b(0x180)]instanceof _0x21d200?this[_0x1ab12b(0x180)][_0x1ab12b(0x165)]:new _0x5f0f98([this[_0x1ab12b(0x180)]]);for(const _0xe753a6 of _0x158944)this[_0x1ab12b(0x150)](_0xe753a6);this[_0x1ab12b(0x169)](_0x158944,_0x1ab12b(0x14f),(_0x13d49a,_0x5ba1ab)=>{const _0x4c481f=_0x1ab12b;this[_0x4c481f(0x169)](_0x5ba1ab,_0x4c481f(0x18b),()=>{const _0x28d524=_0x4c481f;this[_0x28d524(0x150)](_0x5ba1ab);});}),this[_0x1ab12b(0x169)](_0x158944,_0x1ab12b(0x175),(_0xbf5217,_0x328906)=>{const _0x34d325=_0x1ab12b;_0x328906[_0x34d325(0x191)][_0x34d325(0x174)](_0x34d325(0x15a))&&this[_0x34d325(0x186)](_0x328906[_0x34d325(0x191)][_0x34d325(0x182)](_0x34d325(0x15a)));}),window[_0x1ab12b(0x177)](_0x1ab12b(0x190),this[_0x1ab12b(0x15f)]),this[_0x1ab12b(0x162)][_0x1ab12b(0x17e)]();}[_0x54eac1(0x173)](){const _0x542241=_0x54eac1;if(!this[_0x542241(0x15e)])throw new _0x4a1d86(_0x542241(0x156),this);this[_0x542241(0x16a)](null);const _0xb2ed46=this[_0x542241(0x180)][_0x542241(0x191)][_0x542241(0x182)](_0x412a17);_0xb2ed46[_0x542241(0x163)](this[_0x542241(0x162)]),this[_0x542241(0x17c)](_0xb2ed46),this[_0x542241(0x17c)](this[_0x542241(0x162)]),this[_0x542241(0x180)]instanceof _0x21d200&&this[_0x542241(0x17c)](this[_0x542241(0x180)][_0x542241(0x165)]);for(const _0x4465e2 of Array[_0x542241(0x17d)](this[_0x542241(0x16b)]))this[_0x542241(0x186)](_0x4465e2);window[_0x542241(0x154)](_0x542241(0x190),this[_0x542241(0x15f)]),this[_0x542241(0x15f)][_0x542241(0x15b)](),this[_0x542241(0x15d)]=null,this[_0x542241(0x15e)]=!0x1,this[_0x542241(0x162)]=null;}[_0x54eac1(0x161)](){const _0x47a8dd=_0x54eac1;this[_0x47a8dd(0x15e)]&&this[_0x47a8dd(0x173)]();}[_0x54eac1(0x150)](_0xee59b8){const _0x3e3c4b=_0x54eac1;if(!_0xee59b8[_0x3e3c4b(0x191)][_0x3e3c4b(0x174)](_0x3e3c4b(0x15a)))return;const _0x5e99c6=_0xee59b8[_0x3e3c4b(0x191)][_0x3e3c4b(0x182)](_0x3e3c4b(0x15a)),_0x13825b=()=>{const _0x2e341c=_0x3e3c4b,_0x527c27=_0x5e99c6[_0x2e341c(0x158)]({'annotations':this[_0x2e341c(0x162)],'activeAnnotation':this[_0x2e341c(0x15d)]});this[_0x2e341c(0x16a)](_0x527c27[0x0]||null);};this[_0x3e3c4b(0x169)](_0x5e99c6,_0x3e3c4b(0x160),_0x13825b),this[_0x3e3c4b(0x169)](_0x5e99c6,_0x3e3c4b(0x18f),(_0x338e76,{isAnnotationTracked:_0x3bbcbe})=>{const _0x8586fe=_0x3e3c4b;this[_0x8586fe(0x15d)]&&_0x3bbcbe(this[_0x8586fe(0x15d)])&&this[_0x8586fe(0x16a)](null);}),this[_0x3e3c4b(0x169)](_0x5e99c6,_0x3e3c4b(0x166),()=>{const _0x5e4afd=_0x3e3c4b;this[_0x5e4afd(0x15f)]();}),this[_0x3e3c4b(0x169)](this[_0x3e3c4b(0x162)],_0x3e3c4b(0x18f),_0x2d555e=>{const _0x265688=_0x3e3c4b;_0x5e99c6[_0x265688(0x152)]()&&(_0x13825b(),_0x2d555e[_0x265688(0x16c)]());},{'priority':_0x3e3c4b(0x181)}),this[_0x3e3c4b(0x16b)][_0x3e3c4b(0x14f)](_0x5e99c6);}[_0x54eac1(0x186)](_0x4e7348){const _0x75f8dd=_0x54eac1;this[_0x75f8dd(0x17c)](_0x4e7348),this[_0x75f8dd(0x16b)][_0x75f8dd(0x175)](_0x4e7348);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42b61c=_0xa877;(function(_0x3deae0,_0x32104e){const _0x1e48f2=_0xa877,_0x2395b9=_0x3deae0();while(!![]){try{const _0xea2472=-parseInt(_0x1e48f2(0xd3))/0x1+-parseInt(_0x1e48f2(0xda))/0x2+parseInt(_0x1e48f2(0xf0))/0x3*(parseInt(_0x1e48f2(0xed))/0x4)+-parseInt(_0x1e48f2(0xe8))/0x5*(parseInt(_0x1e48f2(0xe7))/0x6)+parseInt(_0x1e48f2(0xe5))/0x7*(parseInt(_0x1e48f2(0xd1))/0x8)+parseInt(_0x1e48f2(0xdf))/0x9*(-parseInt(_0x1e48f2(0xe9))/0xa)+parseInt(_0x1e48f2(0xeb))/0xb*(parseInt(_0x1e48f2(0xde))/0xc);if(_0xea2472===_0x32104e)break;else _0x2395b9['push'](_0x2395b9['shift']());}catch(_0x191ac3){_0x2395b9['push'](_0x2395b9['shift']());}}}(_0x377d,0x8ed84));function _0xa877(_0x4bf518,_0x167109){const _0x377dc3=_0x377d();return _0xa877=function(_0xa87775,_0x5993e1){_0xa87775=_0xa87775-0xcb;let _0x4e7dc6=_0x377dc3[_0xa87775];return _0x4e7dc6;},_0xa877(_0x4bf518,_0x167109);}import{Command as _0x21b9a3}from'ckeditor5/src/core.js';import{uid as _0x1e242f}from'ckeditor5/src/utils.js';function _0x377d(){const _0x44c85b=['model','413327FMvbUM','getItems','_trimToContent','execute','selection','comment:','schema','891354wivHHK','change','backward','addMarker','801852NeybSq','77373urswfs','document','isEnabled','item','isObject','_hasContent','145166lJFklS','getRanges','642SYEcer','20800FNTPyw','250YnxYok','refresh','143RAPvWp','tableCell','24mcKgWC','getLastMatchingPosition','end','109653zlHlnN','start','substr','element','$textProxy','push','editor','_itemIsContent','createRange','392jLkBqI'];_0x377d=function(){return _0x44c85b;};return _0x377d();}export default class J extends _0x21b9a3{[_0x42b61c(0xea)](){const _0x5e561c=_0x42b61c,_0x26ac83=this[_0x5e561c(0xce)][_0x5e561c(0xd2)][_0x5e561c(0xe0)][_0x5e561c(0xd7)];for(const _0x489e51 of _0x26ac83[_0x5e561c(0xe6)]())if(this[_0x5e561c(0xe4)](_0x489e51))return void(this[_0x5e561c(0xe1)]=!0x0);this[_0x5e561c(0xe1)]=!0x1;}[_0x42b61c(0xd6)]({threadId:_0x5885c8=_0x1e242f()}={}){const _0x424044=_0x42b61c,_0xb6790c=this[_0x424044(0xce)][_0x424044(0xd2)],_0x3fd88d=[];for(const _0x50bdc2 of _0xb6790c[_0x424044(0xe0)][_0x424044(0xd7)][_0x424044(0xe6)]())this[_0x424044(0xe4)](_0x50bdc2)&&_0x3fd88d[_0x424044(0xcd)](this[_0x424044(0xd5)](_0x50bdc2));_0xb6790c[_0x424044(0xdb)](_0x2369d8=>{const _0xc650aa=_0x424044;for(const _0x39bdd6 of _0x3fd88d){const _0x321ae3=_0x1e242f()[_0xc650aa(0xf2)](0x1,0x5),_0x2b0d4c=_0xc650aa(0xd8)+_0x5885c8+':'+_0x321ae3;_0x2369d8[_0xc650aa(0xdd)](_0x2b0d4c,{'range':_0x39bdd6,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x42b61c(0xe4)](_0x47f6b9){const _0x2fe818=_0x42b61c;for(const _0xd8dd3e of _0x47f6b9[_0x2fe818(0xd4)]())if(this[_0x2fe818(0xcf)](_0xd8dd3e))return!0x0;return!0x1;}[_0x42b61c(0xcf)](_0x4781bd){const _0x29189b=_0x42b61c;return _0x4781bd['is'](_0x29189b(0xcc))||this[_0x29189b(0xce)][_0x29189b(0xd2)][_0x29189b(0xd9)][_0x29189b(0xe3)](_0x4781bd)&&!_0x4781bd['is'](_0x29189b(0xcb),_0x29189b(0xec));}[_0x42b61c(0xd5)](_0x218c7b){const _0x4928ec=_0x42b61c,_0x1fe615=_0x2eb4e7=>!this[_0x4928ec(0xcf)](_0x2eb4e7[_0x4928ec(0xe2)]),_0x28b283=_0x218c7b[_0x4928ec(0xf1)][_0x4928ec(0xee)](_0x1fe615),_0x5b518a=_0x218c7b[_0x4928ec(0xef)][_0x4928ec(0xee)](_0x1fe615,{'direction':_0x4928ec(0xdc)});return this[_0x4928ec(0xce)][_0x4928ec(0xd2)][_0x4928ec(0xd0)](_0x28b283,_0x5b518a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e85cc=_0x5751;(function(_0x47a742,_0x2a82a5){const _0x5a082a=_0x5751,_0x1de7e2=_0x47a742();while(!![]){try{const _0x3ac5da=parseInt(_0x5a082a(0x16b))/0x1+parseInt(_0x5a082a(0x157))/0x2+parseInt(_0x5a082a(0x166))/0x3*(parseInt(_0x5a082a(0x160))/0x4)+-parseInt(_0x5a082a(0x15f))/0x5+-parseInt(_0x5a082a(0x163))/0x6*(parseInt(_0x5a082a(0x165))/0x7)+parseInt(_0x5a082a(0x158))/0x8*(-parseInt(_0x5a082a(0x177))/0x9)+-parseInt(_0x5a082a(0x161))/0xa*(-parseInt(_0x5a082a(0x174))/0xb);if(_0x3ac5da===_0x2a82a5)break;else _0x1de7e2['push'](_0x1de7e2['shift']());}catch(_0x8dd4a8){_0x1de7e2['push'](_0x1de7e2['shift']());}}}(_0x42e4,0xa843d));function _0x5751(_0x3b3994,_0x4d5895){const _0x42e41a=_0x42e4();return _0x5751=function(_0x575198,_0x3aafbe){_0x575198=_0x575198-0x155;let _0x45353c=_0x42e41a[_0x575198];return _0x45353c;},_0x5751(_0x3b3994,_0x4d5895);}import{ContextPlugin as _0x10ee53}from'ckeditor5/src/core.js';import{Collection as _0x1b3a8b}from'ckeditor5/src/utils.js';import _0x4945d2 from'./commentsrepository.js';function _0x42e4(){const _0x3313ca=['1294288JXsHZv','init','CommentsArchive','length','isActive','add','addCommentThread','archivedAt','plugins','33iHqqVi','focus','isVisible','18HZQXok','get','requires','getCommentThread','has','_calculatePosition','1290190QyYPGp','3541216FWftvl','listenTo','change:archivedAt','remove','pluginName','context','stopListening','1474435gsSDNn','396eAGXgY','305540VezuTU','highest','2942004TiijxV','collection','14LuLMeN','24819NAxoMW','removeCommentThread','archivedThreads','activate','findIndex'];_0x42e4=function(){return _0x3313ca;};return _0x42e4();}import _0x47a65a from'../annotations/annotations.js';export default class p extends _0x10ee53{static get[_0x2e85cc(0x15c)](){const _0x24f1bb=_0x2e85cc;return _0x24f1bb(0x16d);}static get[_0x2e85cc(0x179)](){return[_0x4945d2,_0x47a65a];}constructor(_0x42bbd0){const _0x588fcb=_0x2e85cc;super(_0x42bbd0),this[_0x588fcb(0x168)]=new _0x1b3a8b();}[_0x2e85cc(0x16c)](){const _0x3dd69a=_0x2e85cc,_0x42dcfe=this[_0x3dd69a(0x15d)],_0x5b5aef=_0x42dcfe[_0x3dd69a(0x173)][_0x3dd69a(0x178)](_0x4945d2),_0x3f0e69=_0x42dcfe[_0x3dd69a(0x173)][_0x3dd69a(0x178)](_0x47a65a);this[_0x3dd69a(0x159)](_0x5b5aef,_0x3dd69a(0x171),(_0xd1a199,{threadId:_0x4dd0a4})=>{const _0x540e08=_0x3dd69a,_0x249f5a=_0x5b5aef[_0x540e08(0x17a)](_0x4dd0a4);_0x249f5a[_0x540e08(0x172)]&&this[_0x540e08(0x168)][_0x540e08(0x170)](_0x249f5a,this[_0x540e08(0x156)](_0x249f5a[_0x540e08(0x172)])),this[_0x540e08(0x159)](_0x249f5a,_0x540e08(0x15a),(_0xf38771,_0x142b31,_0x2e5dfb)=>{const _0x10dd9c=_0x540e08;_0x2e5dfb?this[_0x10dd9c(0x168)][_0x10dd9c(0x155)](_0x249f5a)||this[_0x10dd9c(0x168)][_0x10dd9c(0x170)](_0x249f5a,this[_0x10dd9c(0x156)](_0x249f5a[_0x10dd9c(0x172)])):this[_0x10dd9c(0x168)][_0x10dd9c(0x155)](_0x249f5a)&&this[_0x10dd9c(0x168)][_0x10dd9c(0x15b)](_0x249f5a);});}),this[_0x3dd69a(0x159)](_0x5b5aef,_0x3dd69a(0x167),(_0x43790a,{threadId:_0x1d1ce7})=>{const _0x409cc2=_0x3dd69a,_0x5f4a00=_0x5b5aef[_0x409cc2(0x17a)](_0x1d1ce7);this[_0x409cc2(0x15e)](_0x5f4a00),this[_0x409cc2(0x168)][_0x409cc2(0x155)](_0x5f4a00)&&this[_0x409cc2(0x168)][_0x409cc2(0x15b)](_0x5f4a00);},{'priority':_0x3dd69a(0x162)}),this[_0x3dd69a(0x159)](_0x3f0e69[_0x3dd69a(0x164)],_0x3dd69a(0x175),(_0xc80a89,_0x2611c3)=>{const _0x2cbe1b=_0x3dd69a;_0x2611c3[_0x2cbe1b(0x176)]||(_0x2611c3[_0x2cbe1b(0x16f)]=!0x0,_0x3f0e69[_0x2cbe1b(0x169)](_0x2611c3));});}[_0x2e85cc(0x156)](_0xd284e3){const _0x6be3c8=_0x2e85cc,_0x51968c=[...this[_0x6be3c8(0x168)]][_0x6be3c8(0x16a)](_0x267ca7=>_0x267ca7[_0x6be3c8(0x172)]<_0xd284e3);return _0x51968c>-0x1?_0x51968c:this[_0x6be3c8(0x168)][_0x6be3c8(0x16e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3af296=_0x3f0a;(function(_0x49b869,_0x5bb4b7){const _0x193ce8=_0x3f0a,_0x176f8d=_0x49b869();while(!![]){try{const _0x335941=-parseInt(_0x193ce8(0x202))/0x1*(-parseInt(_0x193ce8(0x201))/0x2)+-parseInt(_0x193ce8(0x1f2))/0x3*(-parseInt(_0x193ce8(0x1c7))/0x4)+-parseInt(_0x193ce8(0x1d6))/0x5*(parseInt(_0x193ce8(0x1f9))/0x6)+parseInt(_0x193ce8(0x1e2))/0x7*(parseInt(_0x193ce8(0x1ec))/0x8)+parseInt(_0x193ce8(0x1c8))/0x9+-parseInt(_0x193ce8(0x1de))/0xa*(parseInt(_0x193ce8(0x1e9))/0xb)+-parseInt(_0x193ce8(0x1e6))/0xc;if(_0x335941===_0x5bb4b7)break;else _0x176f8d['push'](_0x176f8d['shift']());}catch(_0x39765c){_0x176f8d['push'](_0x176f8d['shift']());}}}(_0x307c,0xdb1f8));import'../../theme/commentsarchive.css';function _0x3f0a(_0x5a2cbc,_0x5290b5){const _0x307c13=_0x307c();return _0x3f0a=function(_0x3f0af6,_0x59ee73){_0x3f0af6=_0x3f0af6-0x1c4;let _0x50bb7c=_0x307c13[_0x3f0af6];return _0x50bb7c;},_0x3f0a(_0x5a2cbc,_0x5290b5);}function _0x307c(){const _0x5595f7=['show','19693908IxgvkY','annotationViews','isOpen','11BAmfEQ','_hideDialogOnAnnotationEscape','findIndex','8mTMRrO','_calculatePosition','splice','bind','menuitemcheckbox','source','7335bfAWYq','commentsArchive','innerView','COMMENTS_ARCHIVE','remove','archivedThreads','locale','882giWFjP','requires','collection','get','collaboration.channelId','execute','isVisible','isOn','643924vxMsjt','2RZRbVq','set','Dialog','init','archivedAt','indexOf','push','escape','plugins','CommentsArchiveUI','hide','find','commentsArchiveView','getByInnerView','2444peggqA','7053390NrIXMC','length','_pendingThreads','tooltip','menuBar:commentsArchive','_visibleAnnotations','listenTo','stopListening','_toggleDialog','config','componentFactory','filter','focusableElements','EDITOR_TOP_SIDE','17145YIpjTb','add','has','pluginName','CommentsRepository','stop','_createCommentsArchiveButton','isEnabled','7825590oWLwtR','view','editor','_threadToController','6326460ttIIGN','channelId','Annotations'];_0x307c=function(){return _0x5595f7;};return _0x307c();}import{Plugin as _0x5bc5d2}from'ckeditor5/src/core.js';import{ViewCollection as _0x30b73e,MenuBarMenuListItemButtonView as _0x106663,ButtonView as _0x3f8e0a,Dialog as _0x5a5d06,DialogViewPosition as _0x206df7}from'ckeditor5/src/ui.js';import _0x8e30c8 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x440c32}from'../utils/common-translations.js';import _0x248b60 from'./ui/view/commentsarchiveview.js';import _0x5d747e from'./commentsarchive.js';export default class a extends _0x5bc5d2{static get[_0x3af296(0x1d9)](){const _0x611d3e=_0x3af296;return _0x611d3e(0x20b);}static get[_0x3af296(0x1fa)](){return[_0x5d747e,_0x5a5d06];}constructor(_0x232d96){const _0x32f4bd=_0x3af296;super(_0x232d96),this[_0x32f4bd(0x1ea)]=_0x2d547f=>{const _0x2356e4=_0x32f4bd,_0xc2f4e9=_0x2d547f[_0x2356e4(0x1f1)];if(!this[_0x2356e4(0x1e7)][_0x2356e4(0x1d8)](_0xc2f4e9[_0x2356e4(0x1df)]))return;const _0x4be783=this[_0x2356e4(0x1e0)][_0x2356e4(0x20a)][_0x2356e4(0x1fc)](_0x2356e4(0x204));_0x4be783[_0x2356e4(0x1e8)]&&_0x2356e4(0x1f3)===_0x4be783['id']&&(_0x4be783[_0x2356e4(0x20c)](),_0x2d547f[_0x2356e4(0x1db)]());},this[_0x32f4bd(0x1e7)]=new _0x30b73e(),this[_0x32f4bd(0x1ca)]=[];}[_0x3af296(0x205)](){const _0x31bec4=_0x3af296,_0x3695b1=this[_0x31bec4(0x1e0)],_0x5e588b=this[_0x31bec4(0x1ea)][_0x31bec4(0x1ef)](this);_0x3695b1['ui'][_0x31bec4(0x1d2)][_0x31bec4(0x1d7)](_0x31bec4(0x1f3),()=>this[_0x31bec4(0x1dc)](_0x3f8e0a,!0x0)),_0x3695b1['ui'][_0x31bec4(0x1d2)][_0x31bec4(0x1d7)](_0x31bec4(0x1cc),()=>{const _0x323cab=_0x31bec4,_0xda98db=this[_0x323cab(0x1dc)](_0x106663);return _0xda98db[_0x323cab(0x203)]({'role':_0x323cab(0x1f0)}),_0xda98db;});const _0x335248=_0x3695b1[_0x31bec4(0x20a)][_0x31bec4(0x1fc)](_0x5d747e),_0x1ca5d9=_0x3695b1[_0x31bec4(0x20a)][_0x31bec4(0x1fc)](_0x31bec4(0x1e4)),_0x28a63=_0x3695b1[_0x31bec4(0x20a)][_0x31bec4(0x1fc)](_0x31bec4(0x1da));this[_0x31bec4(0x1ce)](_0x335248[_0x31bec4(0x1f7)],_0x31bec4(0x1d7),(_0x3d7430,_0x38f7d0)=>{const _0x1b9fa1=_0x31bec4,_0x1eb487=_0x3695b1[_0x1b9fa1(0x1d1)][_0x1b9fa1(0x1fc)](_0x1b9fa1(0x1fd));if(!_0x1eb487||_0x38f7d0[_0x1b9fa1(0x1e3)]===_0x1eb487){const _0x6ef229=_0x28a63[_0x1b9fa1(0x1e1)][_0x1b9fa1(0x1fc)](_0x38f7d0);if(!_0x6ef229)return void this[_0x1b9fa1(0x1ca)][_0x1b9fa1(0x208)](_0x38f7d0);const _0x4ab279=this[_0x1b9fa1(0x1ed)](_0x38f7d0[_0x1b9fa1(0x206)]),_0x473e01=_0x1ca5d9[_0x1b9fa1(0x1c6)](_0x6ef229[_0x1b9fa1(0x1df)]);_0x473e01[_0x1b9fa1(0x1ff)]&&_0x1ca5d9[_0x1b9fa1(0x1cd)][_0x1b9fa1(0x1f6)](_0x473e01),this[_0x1b9fa1(0x1e7)][_0x1b9fa1(0x1d7)](_0x473e01[_0x1b9fa1(0x1df)],_0x4ab279);}}),this[_0x31bec4(0x1ce)](_0x1ca5d9[_0x31bec4(0x1fb)],_0x31bec4(0x1d7),(_0x58f657,_0x2b48cf)=>{const _0x5e79b4=_0x31bec4,_0x120062=this[_0x5e79b4(0x1ca)][_0x5e79b4(0x1c4)](_0x29ecfe=>{const _0x5d7547=_0x5e79b4,_0x50a233=_0x28a63[_0x5d7547(0x1e1)][_0x5d7547(0x1fc)](_0x29ecfe);return _0x50a233&&_0x2b48cf[_0x5d7547(0x1f4)]===_0x50a233[_0x5d7547(0x1df)];});if(_0x120062){const _0x54408c=this[_0x5e79b4(0x1ed)](_0x120062[_0x5e79b4(0x206)]);this[_0x5e79b4(0x1e7)][_0x5e79b4(0x1d7)](_0x2b48cf[_0x5e79b4(0x1df)],_0x54408c),this[_0x5e79b4(0x1ca)][_0x5e79b4(0x1ee)](this[_0x5e79b4(0x1ca)][_0x5e79b4(0x207)](_0x120062),0x1);}}),this[_0x31bec4(0x1ce)](_0x335248[_0x31bec4(0x1f7)],_0x31bec4(0x1f6),(_0xc96ab2,_0x5bcf9e)=>{const _0x48665c=_0x31bec4,_0x4be475=_0x3695b1[_0x48665c(0x1d1)][_0x48665c(0x1fc)](_0x48665c(0x1fd));if(!_0x4be475||_0x5bcf9e[_0x48665c(0x1e3)]===_0x4be475){const _0x6b553b=_0x28a63[_0x48665c(0x1e1)][_0x48665c(0x1fc)](_0x5bcf9e),_0x2c4202=_0x1ca5d9[_0x48665c(0x1c6)](_0x6b553b[_0x48665c(0x1df)]);this[_0x48665c(0x1e7)][_0x48665c(0x1f6)](_0x2c4202[_0x48665c(0x1df)]),this[_0x48665c(0x1cf)](_0x2c4202[_0x48665c(0x1d4)]);}}),this[_0x31bec4(0x1ce)](_0x1ca5d9[_0x31bec4(0x1fb)],_0x31bec4(0x1d7),(_0x2dae7a,_0xf21c82)=>{const _0x568ed4=_0x31bec4;this[_0x568ed4(0x1ce)](_0xf21c82,_0x568ed4(0x209),_0x5e588b);}),this[_0x31bec4(0x1ce)](_0x1ca5d9[_0x31bec4(0x1fb)],_0x31bec4(0x1f6),(_0x442ee2,_0x5080f6)=>{const _0x982e6d=_0x31bec4;this[_0x982e6d(0x1cf)](_0x5080f6,_0x982e6d(0x209),_0x5e588b);});}[_0x3af296(0x1ed)](_0x2aab2d){const _0x58c968=_0x3af296,_0x7953ae=this[_0x58c968(0x1e0)][_0x58c968(0x1d1)][_0x58c968(0x1fc)](_0x58c968(0x1fd)),_0x2cf4f1=[...this[_0x58c968(0x1e0)][_0x58c968(0x20a)][_0x58c968(0x1fc)](_0x5d747e)[_0x58c968(0x1f7)]][_0x58c968(0x1d3)](_0x206243=>_0x206243[_0x58c968(0x1e3)]===_0x7953ae)[_0x58c968(0x1eb)](_0x460a18=>_0x460a18[_0x58c968(0x206)]<_0x2aab2d);return _0x2cf4f1<0x0||_0x2cf4f1>this[_0x58c968(0x1e7)][_0x58c968(0x1c9)]?this[_0x58c968(0x1e7)][_0x58c968(0x1c9)]:_0x2cf4f1-0x1;}[_0x3af296(0x1d0)](){const _0x250ed2=_0x3af296,_0x53c177=this[_0x250ed2(0x1e0)],_0x54787d=_0x53c177[_0x250ed2(0x20a)][_0x250ed2(0x1fc)](_0x250ed2(0x204));this[_0x250ed2(0x1c5)]||(this[_0x250ed2(0x1c5)]=new _0x248b60(_0x53c177[_0x250ed2(0x1f8)],this[_0x250ed2(0x1e7)])),_0x250ed2(0x1f3)===_0x54787d['id']?_0x54787d[_0x250ed2(0x20c)]():_0x54787d[_0x250ed2(0x1e5)]({'id':_0x250ed2(0x1f3),'title':_0x440c32(_0x53c177[_0x250ed2(0x1f8)],_0x250ed2(0x1f5)),'icon':_0x8e30c8,'hasCloseButton':!0x0,'content':this[_0x250ed2(0x1c5)],'position':_0x206df7[_0x250ed2(0x1d5)]});}[_0x3af296(0x1dc)](_0x289616,_0x289cbb=!0x1){const _0x476138=_0x3af296,_0x35ae66=this[_0x476138(0x1e0)][_0x476138(0x1f8)],_0x3cfc4f=this[_0x476138(0x1e0)][_0x476138(0x20a)][_0x476138(0x1fc)](_0x476138(0x204)),_0x28d4b2=new _0x289616(_0x35ae66);return _0x28d4b2[_0x476138(0x1ef)](_0x476138(0x1dd))['to'](this,_0x476138(0x1dd)),_0x28d4b2[_0x476138(0x1ef)](_0x476138(0x200))['to'](_0x3cfc4f,'id',_0x2d840c=>_0x476138(0x1f3)===_0x2d840c),_0x28d4b2[_0x476138(0x203)]({'label':_0x440c32(_0x35ae66,_0x476138(0x1f5)),'icon':_0x8e30c8,'isToggleable':!0x0}),_0x289cbb&&(_0x28d4b2[_0x476138(0x1cb)]=!0x0),this[_0x476138(0x1ce)](_0x28d4b2,_0x476138(0x1fe),()=>this[_0x476138(0x1d0)]()),_0x28d4b2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x536d3e=_0x3f50;(function(_0x3b9f00,_0x86f5d0){const _0x6ab16d=_0x3f50,_0x2e26f1=_0x3b9f00();while(!![]){try{const _0x3942f5=parseInt(_0x6ab16d(0x18e))/0x1+-parseInt(_0x6ab16d(0x18f))/0x2*(-parseInt(_0x6ab16d(0x1a7))/0x3)+-parseInt(_0x6ab16d(0x197))/0x4+-parseInt(_0x6ab16d(0x160))/0x5+parseInt(_0x6ab16d(0x136))/0x6*(-parseInt(_0x6ab16d(0x15e))/0x7)+-parseInt(_0x6ab16d(0x1b9))/0x8+parseInt(_0x6ab16d(0x145))/0x9*(parseInt(_0x6ab16d(0x157))/0xa);if(_0x3942f5===_0x86f5d0)break;else _0x2e26f1['push'](_0x2e26f1['shift']());}catch(_0x4852cc){_0x2e26f1['push'](_0x2e26f1['shift']());}}}(_0x326a,0x9cbc2));import{Plugin as _0x934591}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x3adafe,scrollViewportToShowTarget as _0x3a9844}from'ckeditor5/src/utils.js';import _0x2f7d27 from'./commentsrepository.js';import _0x42c6e6 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x50f313,getAllMarkersDomElementsSorted as _0x506ad8,FOCUS_ANNOTATION_KEYSTROKE as _0x209361,Users as _0x3c759}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3f6e82 from'../annotations/editorannotations.js';import _0x38851f from'./integrations/commentsrestrictededitingmode.js';function _0x3f50(_0x37517d,_0x128fce){const _0x326ad3=_0x326a();return _0x3f50=function(_0x3f50a5,_0x57356d){_0x3f50a5=_0x3f50a5-0x123;let _0x928c70=_0x326ad3[_0x3f50a5];return _0x928c70;},_0x3f50(_0x37517d,_0x128fce);}import _0xb0766 from'./integrations/importword.js';import _0x1225e5 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x5c38b9 from'../annotations/annotations.js';import{getTranslation as _0x273ad9}from'../utils/common-translations.js';export default class r extends _0x934591{static get[_0x536d3e(0x1a6)](){return[_0x2f7d27,_0x3f6e82,_0x3c759,_0x38851f,_0xb0766,_0x1225e5];}static get[_0x536d3e(0x154)](){const _0x1d2e5d=_0x536d3e;return _0x1d2e5d(0x150);}constructor(_0x5ed270){const _0x529b92=_0x536d3e;super(_0x5ed270),this[_0x529b92(0x148)](_0x529b92(0x14c),!0x0),_0x5ed270[_0x529b92(0x140)][_0x529b92(0x12a)](_0x529b92(0x16a),()=>this[_0x529b92(0x14c)]=!0x1),this[_0x529b92(0x148)](_0x529b92(0x133),null),this['on'](_0x529b92(0x15b),(_0x3672e2,_0x567e58,_0x27c18d,_0x5e43c3)=>{const _0x327c5d=_0x529b92,_0x4e6481=_0x27c18d?splitMarkerName(_0x27c18d)['id']:null;if(_0x5ed270[_0x327c5d(0x15f)][_0x327c5d(0x1ab)](()=>{const _0x1a27fe=_0x327c5d;if(_0x4e6481){const _0x2639cf=this[_0x1a27fe(0x164)](_0x4e6481);for(const _0x1c52df of _0x2639cf)_0x5ed270[_0x1a27fe(0x130)][_0x1a27fe(0x199)](_0x1c52df);}if(_0x5e43c3){const {id:_0x1385f2}=splitMarkerName(_0x5e43c3),_0x38930a=this[_0x1a27fe(0x164)](_0x1385f2);for(const _0xaf4cac of _0x38930a)_0x5ed270[_0x1a27fe(0x130)][_0x1a27fe(0x199)](_0xaf4cac);}}),_0x4e6481){const _0x5074c9=_0x5ed270[_0x327c5d(0x181)][_0x327c5d(0x12c)](_0x2f7d27)[_0x327c5d(0x172)](_0x4e6481);_0x5074c9&&_0x5074c9[_0x327c5d(0x147)]&&this[_0x327c5d(0x135)](_0x4e6481);}}),this[_0x529b92(0x1aa)]();}[_0x536d3e(0x14f)](){const _0xcc1e14=_0x536d3e,_0xad5dc1=this[_0xcc1e14(0x165)],_0x27dbe6=_0xad5dc1[_0xcc1e14(0x181)][_0xcc1e14(0x12c)](_0x2f7d27),_0x3cb2ba=_0xad5dc1[_0xcc1e14(0x137)][_0xcc1e14(0x12c)](_0xcc1e14(0x1ba));_0xad5dc1[_0xcc1e14(0x176)][_0xcc1e14(0x18b)](_0xcc1e14(0x191),new _0x42c6e6(_0xad5dc1)),this[_0xcc1e14(0x12b)](_0xad5dc1,_0xcc1e14(0x125),(_0x18418f,_0x34abab,_0x3b91ca)=>{const _0x3655a8=_0xcc1e14;_0x27dbe6[_0x3655a8(0x1ae)](_0x3b91ca,_0xad5dc1[_0x3655a8(0x137)][_0x3655a8(0x12c)](_0x3655a8(0x1ba)));}),this[_0xcc1e14(0x12b)](_0x27dbe6,mt(_0xcc1e14(0x191),_0x3cb2ba),(_0x4f77eb,{threadId:_0x42f6f9})=>{const _0x136d57=_0xcc1e14,_0x3083f2=this[_0x136d57(0x165)][_0x136d57(0x181)][_0x136d57(0x12c)](_0x2f7d27)[_0x136d57(0x172)](_0x42f6f9);_0x3083f2&&_0x3083f2[_0x136d57(0x198)]&&this[_0x136d57(0x14d)](_0x42f6f9);}),this[_0xcc1e14(0x12b)](_0x27dbe6,mt(_0xcc1e14(0x16b),_0x3cb2ba),(_0x53827d,{threadId:_0x258db0})=>{const _0x4752e2=_0xcc1e14;_0xad5dc1[_0x4752e2(0x15f)][_0x4752e2(0x194)]({'isUndoable':!0x1},_0x56b58e=>{const _0x31bb4d=_0x4752e2,_0x961ca8=this[_0x31bb4d(0x164)](_0x258db0);for(const _0x10d925 of _0x961ca8)_0x56b58e[_0x31bb4d(0x124)](_0x10d925);});}),this[_0xcc1e14(0x12b)](_0x27dbe6,mt(_0xcc1e14(0x182),_0x3cb2ba),(_0x34f7b4,{threadId:_0x524d2e})=>{const _0x549526=_0xcc1e14;(this[_0x549526(0x153)](_0x524d2e),this[_0x549526(0x165)][_0x549526(0x130)][_0x549526(0x19c)][_0x549526(0x146)])&&(this[_0x549526(0x165)][_0x549526(0x181)][_0x549526(0x12c)](_0x2f7d27)[_0x549526(0x172)](_0x524d2e)[_0x549526(0x198)]||this[_0x549526(0x165)][_0x549526(0x130)][_0x549526(0x19c)][_0x549526(0x159)]());},{'priority':_0xcc1e14(0x166)}),this[_0xcc1e14(0x12b)](_0x27dbe6,mt(_0xcc1e14(0x16c),_0x3cb2ba),(_0x2d091e,{threadId:_0x982933})=>{const _0x2151f2=_0xcc1e14;this[_0x2151f2(0x153)](_0x982933);},{'priority':_0xcc1e14(0x166)}),this[_0xcc1e14(0x12b)](_0x27dbe6,mt(_0xcc1e14(0x158),_0x3cb2ba),(_0x5b6c31,{threadId:_0x30b8ab,isFromAdapter:_0x2d4fbe})=>{const _0x5f4309=_0xcc1e14,_0x45b0f1=this[_0x5f4309(0x164)](_0x30b8ab);if(_0x2d4fbe||0x0==_0x45b0f1[_0x5f4309(0x127)]||!_0x27dbe6[_0x5f4309(0x169)](_0x30b8ab))return;0x1===_0x27dbe6[_0x5f4309(0x172)](_0x30b8ab)[_0x5f4309(0x127)]&&_0xad5dc1[_0x5f4309(0x15f)][_0x5f4309(0x194)]({'isUndoable':!0x1},_0xcab52d=>{const _0x1f11b7=_0x5f4309;for(const _0x24072c of _0x45b0f1)_0xcab52d[_0x1f11b7(0x1a1)](_0x24072c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xcc1e14(0x166)}),this[_0xcc1e14(0x183)](),this[_0xcc1e14(0x171)]();}[_0x536d3e(0x131)](){const _0x1adb69=_0x536d3e,_0x258f5a=this[_0x1adb69(0x165)][_0x1adb69(0x181)][_0x1adb69(0x12c)](_0x2f7d27),_0x51b762=this[_0x1adb69(0x165)][_0x1adb69(0x137)][_0x1adb69(0x12c)](_0x1adb69(0x1ba));for(const _0x4a32e3 of _0x258f5a[_0x1adb69(0x193)]({'channelId':_0x51b762}))_0x258f5a[_0x1adb69(0x1a3)](_0x4a32e3['id']),_0x258f5a[_0x1adb69(0x13f)][_0x1adb69(0x195)](_0x4a32e3['id']);super[_0x1adb69(0x131)]();}[_0x536d3e(0x18d)](_0x452804){const _0x4b0613=_0x536d3e;return this[_0x4b0613(0x164)](_0x452804)[_0x4b0613(0x127)]>0x0;}[_0x536d3e(0x164)](_0x59240a){const _0x438aa7=_0x536d3e,_0x8595d7=[];for(const _0x15a62f of this[_0x438aa7(0x165)][_0x438aa7(0x15f)][_0x438aa7(0x175)])_0x15a62f[_0x438aa7(0x178)][_0x438aa7(0x173)](_0x438aa7(0x144)+_0x59240a)&&_0x8595d7[_0x438aa7(0x190)](_0x15a62f);return _0x8595d7;}[_0x536d3e(0x135)](_0x14807d){const _0x33c6df=_0x536d3e,_0x1047c3=this[_0x33c6df(0x187)](_0x14807d);_0x1047c3&&setTimeout(()=>{const _0x53f1c8=_0x33c6df;this[_0x53f1c8(0x133)]&&splitMarkerName(this[_0x53f1c8(0x133)])['id']===_0x14807d&&_0x3a9844({'target':_0x1047c3[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x536d3e(0x153)](_0x3a6d9c){const _0x9081f8=_0x536d3e;this[_0x9081f8(0x165)][_0x9081f8(0x15f)][_0x9081f8(0x1ab)](()=>{const _0x3f97bf=_0x9081f8;for(const _0x26ac59 of this[_0x3f97bf(0x164)](_0x3a6d9c))this[_0x3f97bf(0x165)][_0x3f97bf(0x130)][_0x3f97bf(0x199)](_0x26ac59);});}[_0x536d3e(0x14d)](_0x8a1ab5){const _0x16eb85=_0x536d3e,_0xe4be32=this[_0x16eb85(0x165)][_0x16eb85(0x181)][_0x16eb85(0x12c)](_0x2f7d27),_0x2833c7=this[_0x16eb85(0x165)][_0x16eb85(0x181)][_0x16eb85(0x12c)](_0x3f6e82),_0x1d8035=_0xe4be32[_0x16eb85(0x172)](_0x8a1ab5);if(!_0x1d8035[_0x16eb85(0x129)]){const _0x25c6e2=_0x1d8035[_0x16eb85(0x1ad)](()=>this[_0x16eb85(0x187)](_0x1d8035['id']));_0x2833c7[_0x16eb85(0x186)](_0x25c6e2),_0x1d8035[_0x16eb85(0x1b6)]=!0x1;}}[_0x536d3e(0x183)](){const _0x108a60=_0x536d3e,_0x2084cc=this[_0x108a60(0x165)],_0x1667c1=_0x2084cc[_0x108a60(0x181)][_0x108a60(0x12c)](_0x3c759);_0x2084cc[_0x108a60(0x177)][_0x108a60(0x170)](_0x108a60(0x142))[_0x108a60(0x162)]({'model':_0x108a60(0x19f),'view':(_0x3b9bac,_0x1e0d8c)=>{const _0x2788f0=_0x108a60,{id:_0x45f4e1}=splitMarkerName(_0x3b9bac[_0x2788f0(0x13d)]),_0x40b48e=_0x2084cc[_0x2788f0(0x181)][_0x2788f0(0x12c)](_0x2f7d27)[_0x2788f0(0x172)](_0x45f4e1),_0x312b83=this[_0x2788f0(0x133)]&&splitMarkerName(this[_0x2788f0(0x133)])['id']===_0x45f4e1;let _0x3c49f3;if(_0x40b48e&&_0x40b48e[_0x2788f0(0x147)]&&!_0x312b83&&_0x3b9bac[_0x2788f0(0x138)])return _0x1e0d8c[_0x2788f0(0x1b8)][_0x2788f0(0x139)](_0x3b9bac[_0x2788f0(0x138)],_0x2788f0(0x1a0)+_0x3b9bac[_0x2788f0(0x13d)]),_0x1e0d8c[_0x2788f0(0x1b8)][_0x2788f0(0x139)](_0x3b9bac[_0x2788f0(0x138)],_0x2788f0(0x16d)+_0x3b9bac[_0x2788f0(0x13d)]),null;const _0x2c6d26=[_0x2788f0(0x19e)];return _0x312b83&&_0x2c6d26[_0x2788f0(0x190)](_0x2788f0(0x19b)),_0x3c49f3=_0x40b48e&&_0x40b48e[_0x2788f0(0x127)]?_0x40b48e[_0x2788f0(0x188)][_0x2788f0(0x151)][_0x2788f0(0x1b1)]['id']:_0x1667c1['me']['id'],{'classes':_0x2c6d26,'attributes':{'data-comment':_0x45f4e1,'data-author-id':_0x3c49f3}};}}),_0x2084cc[_0x108a60(0x177)][_0x108a60(0x170)](_0x108a60(0x149))[_0x108a60(0x16f)]({'model':_0x108a60(0x19f),'view':(_0x423ab9,{options:_0x1875eb})=>{const _0x4e4a16=_0x108a60,_0x594462=_0x2084cc[_0x4e4a16(0x181)][_0x4e4a16(0x12c)](_0x2f7d27),_0x39d61d=_0x2084cc[_0x4e4a16(0x15f)][_0x4e4a16(0x175)][_0x4e4a16(0x12c)](_0x423ab9),{id:_0x51edbc,part:_0x463f12}=splitMarkerName(_0x423ab9);if(_0x39d61d&&!_0x39d61d[_0x4e4a16(0x12e)])return null;if(_0x1875eb[_0x4e4a16(0x12f)]){const _0x28f913=_0x594462[_0x4e4a16(0x172)](_0x51edbc);if(_0x28f913&&_0x28f913[_0x4e4a16(0x147)])return null;}return{'group':_0x4e4a16(0x19f),'name':_0x463f12?_0x51edbc+':'+_0x463f12:_0x51edbc};}}),_0x2084cc[_0x108a60(0x177)][_0x108a60(0x170)](_0x108a60(0x168))[_0x108a60(0x18a)]({'view':{'name':_0x108a60(0x19f),'attributes':{'id':/^\w/}},'model':(_0x4c0c82,{writer:_0x4a9dda})=>_0x4a9dda[_0x108a60(0x14e)](_0x108a60(0x17e),{'data-name':_0x108a60(0x144)+_0x4c0c82[_0x108a60(0x15d)]('id')})}),_0x2084cc[_0x108a60(0x177)][_0x108a60(0x170)](_0x108a60(0x168))[_0x108a60(0x189)]({'view':_0x108a60(0x19f)});}[_0x536d3e(0x171)](){const _0x30b8d4=_0x536d3e,_0x3040fc=this[_0x30b8d4(0x165)],_0x2b6825=_0x3040fc[_0x30b8d4(0x181)][_0x30b8d4(0x12c)](_0x2f7d27),_0x327fba=new Set(),_0x392c0b=new Set();_0x3040fc[_0x30b8d4(0x15f)][_0x30b8d4(0x143)][_0x30b8d4(0x185)](_0x3f50ee=>{const _0x459d9b=_0x30b8d4;let _0x9b817c=!0x1;for(const {name:_0x2ccc80,data:_0x1ad41b}of _0x3040fc[_0x459d9b(0x15f)][_0x459d9b(0x143)][_0x459d9b(0x13b)][_0x459d9b(0x19d)]()){const {group:_0x228058,id:_0x561b6d}=splitMarkerName(_0x2ccc80);let _0x3cb09c=_0x1ad41b[_0x459d9b(0x128)];if(_0x459d9b(0x19f)!==_0x228058||!_0x3cb09c)continue;const _0x150e53=_0x459d9b(0x15a)===_0x3cb09c[_0x459d9b(0x16e)][_0x459d9b(0x17a)];_0x150e53||(_0x3cb09c=dt(_0x3cb09c,_0x3040fc[_0x459d9b(0x15f)]),!_0x3cb09c||_0x3cb09c[_0x459d9b(0x1a4)]||!_0x1ad41b[_0x459d9b(0x128)]||_0x3cb09c[_0x459d9b(0x15c)](_0x1ad41b[_0x459d9b(0x128)]))?_0x3040fc[_0x459d9b(0x15f)][_0x459d9b(0x14b)](_0x3cb09c)&&!_0x150e53?this[_0x459d9b(0x14c)]?_0x327fba[_0x459d9b(0x18b)](_0x2ccc80):this[_0x459d9b(0x167)](_0x2ccc80,_0x561b6d):(_0x392c0b[_0x459d9b(0x18b)](_0x2ccc80),_0x327fba[_0x459d9b(0x195)](_0x2ccc80),_0x3f50ee[_0x459d9b(0x124)](_0x2ccc80),_0x9b817c=!0x0):(_0x3f50ee[_0x459d9b(0x1a1)](_0x2ccc80,{'range':_0x3cb09c}),_0x9b817c=!0x0);}return _0x9b817c;}),this['on'](_0x30b8d4(0x1b5),(_0x4facce,_0x374e51,_0xb98847)=>{const _0x54a6e6=_0x30b8d4;if(!_0xb98847&&_0x327fba[_0x54a6e6(0x1af)])for(const _0x4fb03e of _0x327fba){const {id:_0x36e9ab}=splitMarkerName(_0x4fb03e);_0x327fba[_0x54a6e6(0x195)](_0x4fb03e),_0x3040fc[_0x54a6e6(0x15f)][_0x54a6e6(0x175)][_0x54a6e6(0x12c)](_0x4fb03e)&&this[_0x54a6e6(0x167)](_0x4fb03e,_0x36e9ab);}}),this[_0x30b8d4(0x12b)](_0x3040fc[_0x30b8d4(0x15f)][_0x30b8d4(0x143)],_0x30b8d4(0x1ab),(_0x3ebd21,_0x5c134d)=>{const _0x1e31a1=_0x30b8d4;for(const {name:_0x24cf34,data:{newRange:_0x2b240c}}of _0x3040fc[_0x1e31a1(0x15f)][_0x1e31a1(0x143)][_0x1e31a1(0x13b)][_0x1e31a1(0x19d)]()){const {group:_0x2c80d0,id:_0x215109}=splitMarkerName(_0x24cf34);if(_0x1e31a1(0x19f)!==_0x2c80d0)continue;const _0x11d68a=_0x2b6825[_0x1e31a1(0x172)](_0x215109),_0x1546f4=this[_0x1e31a1(0x18d)](_0x215109);_0x11d68a&&(!_0x11d68a[_0x1e31a1(0x1b6)]&&_0x2b240c&&_0x3040fc[_0x1e31a1(0x130)][_0x1e31a1(0x19c)][_0x1e31a1(0x12a)](_0x1e31a1(0x1a9),()=>{const _0x3cdbb7=_0x1e31a1,_0x34808f=_0x3040fc[_0x3cdbb7(0x181)][_0x3cdbb7(0x12c)](_0x5c38b9),_0x4dc69b=_0x2b6825[_0x3cdbb7(0x19a)][_0x3cdbb7(0x12c)](_0x11d68a)[_0x3cdbb7(0x19c)];_0x34808f[_0x3cdbb7(0x12d)](_0x4dc69b)[_0x3cdbb7(0x126)]();},{'priority':_0x1e31a1(0x166)}),_0x11d68a[_0x1e31a1(0x1b6)]=_0x1546f4||!!_0x2b240c),_0x2b240c||(_0x392c0b[_0x1e31a1(0x18b)](_0x24cf34),_0x327fba[_0x1e31a1(0x195)](_0x24cf34));}if(_0x5c134d[_0x1e31a1(0x179)])for(const _0x492e85 of _0x392c0b){const {id:_0x3599ce}=splitMarkerName(_0x492e85),_0x1ba17f=_0x2b6825[_0x1e31a1(0x172)](_0x3599ce),_0x4f5daf=this[_0x1e31a1(0x18d)](_0x3599ce);_0x327fba[_0x1e31a1(0x195)](_0x492e85),!_0x1ba17f||_0x4f5daf||_0x1ba17f[_0x1e31a1(0x198)]||_0x1ba17f[_0x1e31a1(0x152)](new Date());}_0x392c0b[_0x1e31a1(0x13c)]();});}[_0x536d3e(0x187)](_0x584f0e){const _0x1b4328=_0x536d3e,_0x383ab6=this[_0x1b4328(0x165)],_0x4932d7=this[_0x1b4328(0x164)](_0x584f0e);return _0x506ad8(_0x383ab6[_0x1b4328(0x130)],_0x4932d7);}[_0x536d3e(0x192)](_0x560172){const _0x26a27f=_0x536d3e,_0x42ff04=this[_0x26a27f(0x164)](_0x560172);let _0x3b45fb='',_0x203f51=!0x1;for(const _0x1d6f12 of _0x42ff04){const _0x519d5a=_0x1d6f12[_0x26a27f(0x134)]();for(const _0x26a6fa of Array[_0x26a27f(0x18c)](_0x519d5a[_0x26a27f(0x14a)]()))_0x26a6fa['is'](_0x26a27f(0x17f))?(_0x3b45fb&&_0x203f51&&(_0x3b45fb+='\x20',_0x203f51=!0x1),_0x3b45fb+=_0x26a6fa[_0x26a27f(0x140)]):_0x203f51=!0x0;_0x203f51=!0x0;}return _0x3b45fb[_0x26a27f(0x132)](0x0,0x96);}[_0x536d3e(0x1ac)](_0x4c8273,_0x1f6d9c){const _0x1d8232=_0x536d3e,_0x1ff370=this[_0x1d8232(0x165)],_0x33bbea=_0x1ff370[_0x1d8232(0x181)][_0x1d8232(0x12c)](_0x2f7d27);let _0x4ae0bc=_0x33bbea[_0x1d8232(0x172)](_0x1f6d9c);const _0x459401=_0x1ff370[_0x1d8232(0x137)][_0x1d8232(0x12c)](_0x1d8232(0x1ba)),_0x2bd170=_0x1ff370[_0x1d8232(0x181)][_0x1d8232(0x12c)](_0x3f6e82);if(_0x4ae0bc&&(_0x4ae0bc[_0x1d8232(0x198)]&&_0x4ae0bc[_0x1d8232(0x152)](null),_0x4ae0bc[_0x1d8232(0x129)]))return _0x4ae0bc;return!this[_0x1d8232(0x164)](_0x1f6d9c)[0x0][_0x1d8232(0x1a8)]?_0x1ff370[_0x1d8232(0x130)][_0x1d8232(0x19c)][_0x1d8232(0x12a)](_0x1d8232(0x1a9),()=>{const _0x2b9a2d=_0x1d8232;if(_0x33bbea[_0x2b9a2d(0x172)](_0x1f6d9c))return;const _0x43bb26=_0x1ff370[_0x2b9a2d(0x181)][_0x2b9a2d(0x12c)](_0x5c38b9);_0x4ae0bc=_0x33bbea[_0x2b9a2d(0x141)]({'channelId':_0x459401,'threadId':_0x1f6d9c,'target':()=>this[_0x2b9a2d(0x187)](_0x1f6d9c),'context':{'type':_0x2b9a2d(0x1a5),'value':this[_0x2b9a2d(0x192)](_0x1f6d9c)}});const _0x547a2c=_0x33bbea[_0x2b9a2d(0x19a)][_0x2b9a2d(0x12c)](_0x4ae0bc)[_0x2b9a2d(0x19c)],_0x157964=_0x43bb26[_0x2b9a2d(0x12d)](_0x547a2c);_0x157964&&_0x2bd170[_0x2b9a2d(0x186)](_0x157964);},{'priority':_0x1d8232(0x166)}):_0x33bbea[_0x1d8232(0x155)]({'channelId':_0x459401,'threadId':_0x1f6d9c})[_0x1d8232(0x1b7)](_0x352c22=>{const _0x9ea083=_0x1d8232;if(_0x9ea083(0x1b4)!==_0x1ff370[_0x9ea083(0x1b3)]){if(_0x4ae0bc=_0x352c22,_0x4ae0bc&&!_0x4ae0bc[_0x9ea083(0x129)]){const _0x3ddb1a=_0x4ae0bc[_0x9ea083(0x1ad)](()=>this[_0x9ea083(0x187)](_0x1f6d9c));_0x2bd170[_0x9ea083(0x186)](_0x3ddb1a),_0x4ae0bc[_0x9ea083(0x147)]&&this[_0x9ea083(0x153)](_0x1f6d9c);}else{if(!_0x4ae0bc){const _0x158697=this[_0x9ea083(0x164)](_0x1f6d9c);_0x1ff370[_0x9ea083(0x15f)][_0x9ea083(0x1ab)](_0x374c65=>{const _0x10a22a=_0x9ea083;for(const _0x5b4152 of _0x158697)_0x374c65[_0x10a22a(0x124)](_0x5b4152);});}}}}),_0x4ae0bc;}[_0x536d3e(0x167)](_0x30f681,_0x94d130){const _0x586c1d=_0x536d3e,_0x2c4b48=this[_0x586c1d(0x1ac)](_0x30f681,_0x94d130);_0x2c4b48&&!_0x2c4b48[_0x586c1d(0x1b0)]&&_0x2c4b48[_0x586c1d(0x180)]({'type':_0x586c1d(0x1a5),'value':this[_0x586c1d(0x192)](_0x94d130)});}[_0x536d3e(0x1aa)](){const _0x14f0e6=_0x536d3e,_0x2e1233=this[_0x14f0e6(0x165)];_0x50f313(_0x2e1233[_0x14f0e6(0x15f)],({left:_0x822e7a,entered:_0x91e378})=>{const _0x55d67f=_0x14f0e6;for(const _0x45330c of _0x822e7a)if(ht(_0x45330c)){_0x2e1233['ui'][_0x55d67f(0x17d)][_0x55d67f(0x123)](_0x273ad9(_0x2e1233[_0x55d67f(0x1a2)],_0x55d67f(0x174)));break;}for(const _0x4ac093 of _0x91e378)if(ht(_0x4ac093)){_0x2e1233['ui'][_0x55d67f(0x17d)][_0x55d67f(0x123)](_0x273ad9(_0x2e1233[_0x55d67f(0x1a2)],_0x55d67f(0x156),_0x3adafe(_0x209361)));break;}});}}function mt(_0x48921a,_0x105a38){return _0x105a38?_0x48921a+':'+_0x105a38:_0x48921a;}export function splitMarkerName(_0x47d7e8){const _0x1594a5=_0x536d3e,_0x3ba78f=_0x47d7e8[_0x1594a5(0x163)](':');return{'group':_0x3ba78f[0x0],'id':_0x3ba78f[0x1],'part':_0x3ba78f[0x2]};}function _0x326a(){const _0x48ddd5=['newRange','isAttached','once','listenTo','get','getByInnerView','affectsData','ignoreResolvedComments','editing','destroy','substring','activeMarker','getRange','scrollToThreadMarker','2904366KZntDb','config','item','consume','start','differ','clear','markerName','end','_threads','data','openNewCommentThread','editingDowncast','document','comment:','120339CfLRnp','hasDomSelection','isResolved','set','dataDowncast','getItems','hasContent','isThreadsLoadingPaused','_attachArchivedThread','createElement','init','CommentsEditing','first','setUnlinkedAt','_reconvertMarkers','pluginName','fetchCommentThread','ENTER_COMMENT_ANNOUNCEMENT','370qhEbJN','addComment','focus','$graveyard','change:activeMarker','isEqual','getAttribute','7VIdVtE','model','1188225VyKcqP','schema','markerToHighlight','split','getAllMarkersForId','editor','low','_handleThreadMarker','upcast','hasCommentThread','ready','removeCommentThread','reopenCommentThread','removeMarker:','root','markerToData','for','_handleMarkerAddAndRemove','getCommentThread','startsWith','LEAVE_COMMENT_ANNOUNCEMENT','markers','commands','conversion','name','isLocal','rootName','isObject','createRange','ariaLiveAnnouncer','$marker','$textProxy','setContext','plugins','resolveCommentThread','_initializeMarkerConverters','createPositionBefore','registerPostFixer','registerAnnotation','_getTargetForId','comments','dataToMarker','elementToElement','add','from','hasMarkerForId','872089YTQrLV','2bVNTxg','push','addCommentThread','_getTextContext','getCommentThreads','enqueueChange','delete','group','1250656Cvdmem','unlinkedAt','reconvertMarker','_threadToController','ck-comment-marker--active','view','getChangedMarkers','ck-comment-marker','comment','addMarker:','updateMarker','locale','_detachCommentThread','isCollapsed','text','requires','1151004rTqUrG','managedUsingOperations','render','_initAriaMarkerChangeAnnouncements','change','_attachMarkerToThread','attachTo','switchReadOnly','size','context','author','getWalker','state','destroyed','change:isThreadsLoadingPaused','_hasTargetInContent','then','consumable','593024MDfIyk','collaboration.channelId','announce','removeMarker','change:isReadOnly','refreshVisibility','length'];_0x326a=function(){return _0x48ddd5;};return _0x326a();}function dt(_0xd0b6b3,_0x1d1512){const _0x217c63=_0x536d3e,_0x9a19d=_0x1d1512[_0x217c63(0x161)],_0x1ce47c=_0x1d1512[_0x217c63(0x17c)](_0xd0b6b3[_0x217c63(0x13a)]);for(const _0x5430be of _0xd0b6b3[_0x217c63(0x1b2)]()){const {type:_0x1fbc73,item:_0x30933b,nextPosition:_0x5eb9a4}=_0x5430be;if(_0x217c63(0x1a5)===_0x1fbc73||_0x9a19d[_0x217c63(0x17b)](_0x30933b)){const _0x163e43=_0x1d1512[_0x217c63(0x184)](_0x30933b);_0x1ce47c[_0x217c63(0x1a4)]&&(_0x1ce47c[_0x217c63(0x13a)]=_0x163e43),_0x1ce47c[_0x217c63(0x13e)]=_0x5eb9a4;}}return _0x1ce47c;}function ht(_0x2223bb){const _0x1a8d17=_0x536d3e;return _0x1a8d17(0x19f)===splitMarkerName(_0x2223bb[_0x1a8d17(0x178)])[_0x1a8d17(0x196)];}
|
|
23
|
+
const _0x1affdc=_0x24c4;(function(_0x59e7d6,_0xd4b25b){const _0x7f3b67=_0x24c4,_0xcbb3a4=_0x59e7d6();while(!![]){try{const _0x195cf1=-parseInt(_0x7f3b67(0x231))/0x1*(-parseInt(_0x7f3b67(0x232))/0x2)+-parseInt(_0x7f3b67(0x1ed))/0x3*(parseInt(_0x7f3b67(0x1db))/0x4)+-parseInt(_0x7f3b67(0x200))/0x5+-parseInt(_0x7f3b67(0x1cb))/0x6+-parseInt(_0x7f3b67(0x1fa))/0x7*(parseInt(_0x7f3b67(0x20e))/0x8)+parseInt(_0x7f3b67(0x23f))/0x9+-parseInt(_0x7f3b67(0x1e7))/0xa*(-parseInt(_0x7f3b67(0x1df))/0xb);if(_0x195cf1===_0xd4b25b)break;else _0xcbb3a4['push'](_0xcbb3a4['shift']());}catch(_0x480685){_0xcbb3a4['push'](_0xcbb3a4['shift']());}}}(_0x2f3b,0x82e86));import{Plugin as _0x4ccbdc}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x18a866,scrollViewportToShowTarget as _0xec7dd}from'ckeditor5/src/utils.js';import _0x579a28 from'./commentsrepository.js';import _0xd8cb8c from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x39985b,getAllMarkersDomElementsSorted as _0xa70d25,FOCUS_ANNOTATION_KEYSTROKE as _0x38cbc4,Users as _0x3f1ffe}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3f241a from'../annotations/editorannotations.js';import _0x5a29a4 from'./integrations/commentsrestrictededitingmode.js';function _0x24c4(_0x5ec166,_0x1c278b){const _0x2f3b29=_0x2f3b();return _0x24c4=function(_0x24c4e8,_0x390fab){_0x24c4e8=_0x24c4e8-0x1c6;let _0x5d520e=_0x2f3b29[_0x24c4e8];return _0x5d520e;},_0x24c4(_0x5ec166,_0x1c278b);}import _0x19063d from'./integrations/importword.js';import _0x156629 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x4e8271 from'../annotations/annotations.js';import{getTranslation as _0x16e956}from'../utils/common-translations.js';export default class r extends _0x4ccbdc{static get[_0x1affdc(0x24a)](){return[_0x579a28,_0x3f241a,_0x3f1ffe,_0x5a29a4,_0x19063d,_0x156629];}static get[_0x1affdc(0x23d)](){const _0x4520d0=_0x1affdc;return _0x4520d0(0x201);}constructor(_0x5d9d5c){const _0x3f8277=_0x1affdc;super(_0x5d9d5c),this[_0x3f8277(0x1dc)](_0x3f8277(0x209),!0x0),_0x5d9d5c[_0x3f8277(0x1e2)][_0x3f8277(0x1d6)](_0x3f8277(0x25a),()=>this[_0x3f8277(0x209)]=!0x1),this[_0x3f8277(0x1dc)](_0x3f8277(0x22a),null),this['on'](_0x3f8277(0x24b),(_0x135160,_0x4d9101,_0x35814a,_0x22c3ed)=>{const _0x1de855=_0x3f8277,_0x533997=_0x35814a?splitMarkerName(_0x35814a)['id']:null;if(_0x5d9d5c[_0x1de855(0x1fc)][_0x1de855(0x1e5)](()=>{const _0x2fbf24=_0x1de855;if(_0x533997){const _0x426c26=this[_0x2fbf24(0x1de)](_0x533997);for(const _0x1f1048 of _0x426c26)_0x5d9d5c[_0x2fbf24(0x256)][_0x2fbf24(0x23b)](_0x1f1048);}if(_0x22c3ed){const {id:_0x312ced}=splitMarkerName(_0x22c3ed),_0x24345e=this[_0x2fbf24(0x1de)](_0x312ced);for(const _0x18d650 of _0x24345e)_0x5d9d5c[_0x2fbf24(0x256)][_0x2fbf24(0x23b)](_0x18d650);}}),_0x533997){const _0x2dbf63=_0x5d9d5c[_0x1de855(0x224)][_0x1de855(0x204)](_0x579a28)[_0x1de855(0x221)](_0x533997);_0x2dbf63&&_0x2dbf63[_0x1de855(0x1ca)]&&this[_0x1de855(0x21c)](_0x533997);}}),this[_0x3f8277(0x210)]();}[_0x1affdc(0x1ee)](){const _0x3e2fa5=_0x1affdc,_0x31712c=this[_0x3e2fa5(0x254)],_0x54dfef=_0x31712c[_0x3e2fa5(0x224)][_0x3e2fa5(0x204)](_0x579a28),_0x4f14b5=_0x31712c[_0x3e2fa5(0x255)][_0x3e2fa5(0x204)](_0x3e2fa5(0x25e));_0x31712c[_0x3e2fa5(0x1c6)][_0x3e2fa5(0x1f3)](_0x3e2fa5(0x212),new _0xd8cb8c(_0x31712c)),this[_0x3e2fa5(0x1e1)](_0x31712c,_0x3e2fa5(0x240),(_0x4f8fb8,_0x385403,_0xe1cf1f)=>{const _0x18b026=_0x3e2fa5;_0x54dfef[_0x18b026(0x24c)](_0xe1cf1f,_0x31712c[_0x18b026(0x255)][_0x18b026(0x204)](_0x18b026(0x25e)));}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x212),_0x4f14b5),(_0x42d0e7,{threadId:_0x49d549})=>{const _0x5ab521=_0x3e2fa5,_0x7aecea=this[_0x5ab521(0x254)][_0x5ab521(0x224)][_0x5ab521(0x204)](_0x579a28)[_0x5ab521(0x221)](_0x49d549);_0x7aecea&&_0x7aecea[_0x5ab521(0x24f)]&&this[_0x5ab521(0x1f9)](_0x49d549);}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x229),_0x4f14b5),(_0x5ebd94,{threadId:_0x57cbf9})=>{const _0x41289c=_0x3e2fa5;_0x31712c[_0x41289c(0x1fc)][_0x41289c(0x22c)]({'isUndoable':!0x1},_0x3f4c50=>{const _0x36f47a=_0x41289c,_0x2f87ca=this[_0x36f47a(0x1de)](_0x57cbf9);for(const _0x127062 of _0x2f87ca)_0x3f4c50[_0x36f47a(0x1da)](_0x127062);});}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1cd),_0x4f14b5),(_0x15df29,{threadId:_0x2f662e})=>{const _0x5c5cd3=_0x3e2fa5;(this[_0x5c5cd3(0x222)](_0x2f662e),this[_0x5c5cd3(0x254)][_0x5c5cd3(0x256)][_0x5c5cd3(0x1cf)][_0x5c5cd3(0x1dd)])&&(this[_0x5c5cd3(0x254)][_0x5c5cd3(0x224)][_0x5c5cd3(0x204)](_0x579a28)[_0x5c5cd3(0x221)](_0x2f662e)[_0x5c5cd3(0x24f)]||this[_0x5c5cd3(0x254)][_0x5c5cd3(0x256)][_0x5c5cd3(0x1cf)][_0x5c5cd3(0x1f7)]());},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1e6),_0x4f14b5),(_0x490568,{threadId:_0x32fddb})=>{const _0x18e422=_0x3e2fa5;this[_0x18e422(0x222)](_0x32fddb);},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1e1)](_0x54dfef,mt(_0x3e2fa5(0x1e8),_0x4f14b5),(_0x332197,{threadId:_0x65bc8b,isFromAdapter:_0x1008e9})=>{const _0x849c69=_0x3e2fa5,_0x3cdde7=this[_0x849c69(0x1de)](_0x65bc8b);if(_0x1008e9||0x0==_0x3cdde7[_0x849c69(0x23c)]||!_0x54dfef[_0x849c69(0x1ec)](_0x65bc8b))return;0x1===_0x54dfef[_0x849c69(0x221)](_0x65bc8b)[_0x849c69(0x23c)]&&_0x31712c[_0x849c69(0x1fc)][_0x849c69(0x22c)]({'isUndoable':!0x1},_0x371e79=>{const _0x2f6f4d=_0x849c69;for(const _0xc70688 of _0x3cdde7)_0x371e79[_0x2f6f4d(0x20a)](_0xc70688,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3e2fa5(0x24d)}),this[_0x3e2fa5(0x1d9)](),this[_0x3e2fa5(0x243)]();}[_0x1affdc(0x239)](){const _0x4cde49=_0x1affdc,_0x55ce96=this[_0x4cde49(0x254)][_0x4cde49(0x224)][_0x4cde49(0x204)](_0x579a28),_0x57e1bf=this[_0x4cde49(0x254)][_0x4cde49(0x255)][_0x4cde49(0x204)](_0x4cde49(0x25e));for(const _0x32aebd of _0x55ce96[_0x4cde49(0x20b)]({'channelId':_0x57e1bf}))_0x55ce96[_0x4cde49(0x20f)](_0x32aebd['id']),_0x55ce96[_0x4cde49(0x22d)][_0x4cde49(0x1e0)](_0x32aebd['id']);super[_0x4cde49(0x239)]();}[_0x1affdc(0x1d7)](_0x10afc7){const _0x4354c9=_0x1affdc;return this[_0x4354c9(0x1de)](_0x10afc7)[_0x4354c9(0x23c)]>0x0;}[_0x1affdc(0x1de)](_0x450147){const _0x3497b6=_0x1affdc,_0x3428e3=[];for(const _0x580e58 of this[_0x3497b6(0x254)][_0x3497b6(0x1fc)][_0x3497b6(0x1f5)])_0x580e58[_0x3497b6(0x23e)][_0x3497b6(0x215)](_0x3497b6(0x257)+_0x450147)&&_0x3428e3[_0x3497b6(0x1f2)](_0x580e58);return _0x3428e3;}[_0x1affdc(0x21c)](_0x49ae7e){const _0x37c58a=_0x1affdc,_0x30424f=this[_0x37c58a(0x228)](_0x49ae7e);_0x30424f&&setTimeout(()=>{const _0x1abe17=_0x37c58a;this[_0x1abe17(0x22a)]&&splitMarkerName(this[_0x1abe17(0x22a)])['id']===_0x49ae7e&&_0xec7dd({'target':_0x30424f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1affdc(0x222)](_0x37324b){const _0x327f6b=_0x1affdc;this[_0x327f6b(0x254)][_0x327f6b(0x1fc)][_0x327f6b(0x1e5)](()=>{const _0x4e0a4d=_0x327f6b;for(const _0x23cb49 of this[_0x4e0a4d(0x1de)](_0x37324b))this[_0x4e0a4d(0x254)][_0x4e0a4d(0x256)][_0x4e0a4d(0x23b)](_0x23cb49);});}[_0x1affdc(0x1f9)](_0x112550){const _0x294efd=_0x1affdc,_0x5265f0=this[_0x294efd(0x254)][_0x294efd(0x224)][_0x294efd(0x204)](_0x579a28),_0x22743e=this[_0x294efd(0x254)][_0x294efd(0x224)][_0x294efd(0x204)](_0x3f241a),_0x1956e4=_0x5265f0[_0x294efd(0x221)](_0x112550);if(!_0x1956e4[_0x294efd(0x205)]){const _0x2ce4dd=_0x1956e4[_0x294efd(0x24e)](()=>this[_0x294efd(0x228)](_0x1956e4['id']));_0x22743e[_0x294efd(0x1e3)](_0x2ce4dd),_0x1956e4[_0x294efd(0x1ce)]=!0x1;}}[_0x1affdc(0x1d9)](){const _0x4da6d9=_0x1affdc,_0x119dce=this[_0x4da6d9(0x254)],_0x1749f7=_0x119dce[_0x4da6d9(0x224)][_0x4da6d9(0x204)](_0x3f1ffe);_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x245))[_0x4da6d9(0x1d5)]({'model':_0x4da6d9(0x1ea),'view':(_0x3cda32,_0x1964a9)=>{const _0x318174=_0x4da6d9,{id:_0x2c6a1b}=splitMarkerName(_0x3cda32[_0x318174(0x21d)]),_0x28e78d=_0x119dce[_0x318174(0x224)][_0x318174(0x204)](_0x579a28)[_0x318174(0x221)](_0x2c6a1b),_0x5caa2f=this[_0x318174(0x22a)]&&splitMarkerName(this[_0x318174(0x22a)])['id']===_0x2c6a1b;let _0x32d515;if(_0x28e78d&&_0x28e78d[_0x318174(0x1ca)]&&!_0x5caa2f&&_0x3cda32[_0x318174(0x21a)])return _0x1964a9[_0x318174(0x214)][_0x318174(0x21b)](_0x3cda32[_0x318174(0x21a)],_0x318174(0x1f6)+_0x3cda32[_0x318174(0x21d)]),_0x1964a9[_0x318174(0x214)][_0x318174(0x21b)](_0x3cda32[_0x318174(0x21a)],_0x318174(0x22b)+_0x3cda32[_0x318174(0x21d)]),null;const _0x35895e=[_0x318174(0x234)];return _0x5caa2f&&_0x35895e[_0x318174(0x1f2)](_0x318174(0x233)),_0x32d515=_0x28e78d&&_0x28e78d[_0x318174(0x23c)]?_0x28e78d[_0x318174(0x1c7)][_0x318174(0x246)][_0x318174(0x1d3)]['id']:_0x1749f7['me']['id'],{'classes':_0x35895e,'attributes':{'data-comment':_0x2c6a1b,'data-author-id':_0x32d515}};}}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x20c))[_0x4da6d9(0x252)]({'model':_0x4da6d9(0x1ea),'view':(_0x4b8bc7,{options:_0x50f420})=>{const _0x470892=_0x4da6d9,_0xc01d73=_0x119dce[_0x470892(0x224)][_0x470892(0x204)](_0x579a28),_0x400a4d=_0x119dce[_0x470892(0x1fc)][_0x470892(0x1f5)][_0x470892(0x204)](_0x4b8bc7),{id:_0x3bf7f3,part:_0x35c34e}=splitMarkerName(_0x4b8bc7);if(_0x400a4d&&!_0x400a4d[_0x470892(0x1fd)])return null;if(_0x50f420[_0x470892(0x1f4)]){const _0x3483aa=_0xc01d73[_0x470892(0x221)](_0x3bf7f3);if(_0x3483aa&&_0x3483aa[_0x470892(0x1ca)])return null;}return{'group':_0x470892(0x1ea),'name':_0x35c34e?_0x3bf7f3+':'+_0x35c34e:_0x3bf7f3};}}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x1d1))[_0x4da6d9(0x1e4)]({'view':{'name':_0x4da6d9(0x1ea),'attributes':{'id':/^\w/}},'model':(_0x3a43e7,{writer:_0x442315})=>_0x442315[_0x4da6d9(0x1ef)](_0x4da6d9(0x219),{'data-name':_0x4da6d9(0x257)+_0x3a43e7[_0x4da6d9(0x206)]('id')})}),_0x119dce[_0x4da6d9(0x1eb)][_0x4da6d9(0x1cc)](_0x4da6d9(0x1d1))[_0x4da6d9(0x22e)]({'view':_0x4da6d9(0x1ea)});}[_0x1affdc(0x243)](){const _0x4de4a5=_0x1affdc,_0x17271d=this[_0x4de4a5(0x254)],_0x1c6213=_0x17271d[_0x4de4a5(0x224)][_0x4de4a5(0x204)](_0x579a28),_0x1aea3f=new Set(),_0x1b861e=new Set();_0x17271d[_0x4de4a5(0x1fc)][_0x4de4a5(0x1c9)][_0x4de4a5(0x248)](_0x235006=>{const _0x52a547=_0x4de4a5;let _0xb2239a=!0x1;for(const {name:_0x4108f5,data:_0x3e1786}of _0x17271d[_0x52a547(0x1fc)][_0x52a547(0x1c9)][_0x52a547(0x1f1)][_0x52a547(0x1d8)]()){const {group:_0x2f09c2,id:_0x1e9abe}=splitMarkerName(_0x4108f5);let _0x817466=_0x3e1786[_0x52a547(0x23a)];if(_0x52a547(0x1ea)!==_0x2f09c2||!_0x817466)continue;const _0x2d374f=_0x52a547(0x253)===_0x817466[_0x52a547(0x230)][_0x52a547(0x213)];_0x2d374f||(_0x817466=dt(_0x817466,_0x17271d[_0x52a547(0x1fc)]),!_0x817466||_0x817466[_0x52a547(0x236)]||!_0x3e1786[_0x52a547(0x23a)]||_0x817466[_0x52a547(0x226)](_0x3e1786[_0x52a547(0x23a)]))?_0x17271d[_0x52a547(0x1fc)][_0x52a547(0x244)](_0x817466)&&!_0x2d374f?this[_0x52a547(0x209)]?_0x1aea3f[_0x52a547(0x1f3)](_0x4108f5):this[_0x52a547(0x25b)](_0x4108f5,_0x1e9abe):(_0x1b861e[_0x52a547(0x1f3)](_0x4108f5),_0x1aea3f[_0x52a547(0x1e0)](_0x4108f5),_0x235006[_0x52a547(0x1da)](_0x4108f5),_0xb2239a=!0x0):(_0x235006[_0x52a547(0x20a)](_0x4108f5,{'range':_0x817466}),_0xb2239a=!0x0);}return _0xb2239a;}),this['on'](_0x4de4a5(0x25d),(_0x1e523b,_0x4a3804,_0x35231a)=>{const _0x1b9d32=_0x4de4a5;if(!_0x35231a&&_0x1aea3f[_0x1b9d32(0x238)])for(const _0x4594cf of _0x1aea3f){const {id:_0x30a2f4}=splitMarkerName(_0x4594cf);_0x1aea3f[_0x1b9d32(0x1e0)](_0x4594cf),_0x17271d[_0x1b9d32(0x1fc)][_0x1b9d32(0x1f5)][_0x1b9d32(0x204)](_0x4594cf)&&this[_0x1b9d32(0x25b)](_0x4594cf,_0x30a2f4);}}),this[_0x4de4a5(0x1e1)](_0x17271d[_0x4de4a5(0x1fc)][_0x4de4a5(0x1c9)],_0x4de4a5(0x1e5),(_0x458780,_0x25ccf7)=>{const _0xf0f1e5=_0x4de4a5;for(const {name:_0xdbb793,data:{newRange:_0x11a017}}of _0x17271d[_0xf0f1e5(0x1fc)][_0xf0f1e5(0x1c9)][_0xf0f1e5(0x1f1)][_0xf0f1e5(0x1d8)]()){const {group:_0x189e4c,id:_0x3231f4}=splitMarkerName(_0xdbb793);if(_0xf0f1e5(0x1ea)!==_0x189e4c)continue;const _0xd3d347=_0x1c6213[_0xf0f1e5(0x221)](_0x3231f4),_0x5afd60=this[_0xf0f1e5(0x1d7)](_0x3231f4);_0xd3d347&&(!_0xd3d347[_0xf0f1e5(0x1ce)]&&_0x11a017&&_0x17271d[_0xf0f1e5(0x256)][_0xf0f1e5(0x1cf)][_0xf0f1e5(0x1d6)](_0xf0f1e5(0x207),()=>{const _0xdfbab3=_0xf0f1e5,_0x4169b1=_0x17271d[_0xdfbab3(0x224)][_0xdfbab3(0x204)](_0x4e8271),_0x5b17c2=_0x1c6213[_0xdfbab3(0x218)][_0xdfbab3(0x204)](_0xd3d347)[_0xdfbab3(0x1cf)];_0x4169b1[_0xdfbab3(0x1d0)](_0x5b17c2)[_0xdfbab3(0x1d2)]();},{'priority':_0xf0f1e5(0x24d)}),_0xd3d347[_0xf0f1e5(0x1ce)]=_0x5afd60||!!_0x11a017),_0x11a017||(_0x1b861e[_0xf0f1e5(0x1f3)](_0xdbb793),_0x1aea3f[_0xf0f1e5(0x1e0)](_0xdbb793));}if(_0x25ccf7[_0xf0f1e5(0x259)])for(const _0x32e8de of _0x1b861e){const {id:_0x4d3185}=splitMarkerName(_0x32e8de),_0x5dd133=_0x1c6213[_0xf0f1e5(0x221)](_0x4d3185),_0x5857b1=this[_0xf0f1e5(0x1d7)](_0x4d3185);_0x1aea3f[_0xf0f1e5(0x1e0)](_0x32e8de),!_0x5dd133||_0x5857b1||_0x5dd133[_0xf0f1e5(0x24f)]||_0x5dd133[_0xf0f1e5(0x258)](new Date());}_0x1b861e[_0xf0f1e5(0x220)]();});}[_0x1affdc(0x228)](_0x5be9e0){const _0x528165=_0x1affdc,_0x451d32=this[_0x528165(0x254)],_0x323280=this[_0x528165(0x1de)](_0x5be9e0);return _0xa70d25(_0x451d32[_0x528165(0x256)],_0x323280);}[_0x1affdc(0x250)](_0x5d90e2){const _0x3555c5=_0x1affdc,_0x4f4f1a=this[_0x3555c5(0x1de)](_0x5d90e2);let _0x59180f='',_0x12ef18=!0x1;for(const _0x50fa84 of _0x4f4f1a){const _0x19c960=_0x50fa84[_0x3555c5(0x1fe)]();for(const _0x2461c6 of Array[_0x3555c5(0x21f)](_0x19c960[_0x3555c5(0x237)]()))_0x2461c6['is'](_0x3555c5(0x211))?(_0x59180f&&_0x12ef18&&(_0x59180f+='\x20',_0x12ef18=!0x1),_0x59180f+=_0x2461c6[_0x3555c5(0x1e2)]):_0x12ef18=!0x0;_0x12ef18=!0x0;}return _0x59180f[_0x3555c5(0x1ff)](0x0,0x96);}[_0x1affdc(0x1fb)](_0x2240a9,_0xe9d2f1){const _0x50286e=_0x1affdc,_0x59b285=this[_0x50286e(0x254)],_0x68ec4b=_0x59b285[_0x50286e(0x224)][_0x50286e(0x204)](_0x579a28);let _0x251f76=_0x68ec4b[_0x50286e(0x221)](_0xe9d2f1);const _0x2f46f5=_0x59b285[_0x50286e(0x255)][_0x50286e(0x204)](_0x50286e(0x25e)),_0x6b069e=_0x59b285[_0x50286e(0x224)][_0x50286e(0x204)](_0x3f241a);if(_0x251f76&&(_0x251f76[_0x50286e(0x24f)]&&_0x251f76[_0x50286e(0x258)](null),_0x251f76[_0x50286e(0x205)]))return _0x251f76;return!this[_0x50286e(0x1de)](_0xe9d2f1)[0x0][_0x50286e(0x241)]?_0x59b285[_0x50286e(0x256)][_0x50286e(0x1cf)][_0x50286e(0x1d6)](_0x50286e(0x207),()=>{const _0x59e632=_0x50286e;if(_0x68ec4b[_0x59e632(0x221)](_0xe9d2f1))return;const _0x1d79a1=_0x59b285[_0x59e632(0x224)][_0x59e632(0x204)](_0x4e8271);_0x251f76=_0x68ec4b[_0x59e632(0x1f8)]({'channelId':_0x2f46f5,'threadId':_0xe9d2f1,'target':()=>this[_0x59e632(0x228)](_0xe9d2f1),'context':{'type':_0x59e632(0x1f0),'value':this[_0x59e632(0x250)](_0xe9d2f1)}});const _0x4c5eed=_0x68ec4b[_0x59e632(0x218)][_0x59e632(0x204)](_0x251f76)[_0x59e632(0x1cf)],_0x4c3717=_0x1d79a1[_0x59e632(0x1d0)](_0x4c5eed);_0x4c3717&&_0x6b069e[_0x59e632(0x1e3)](_0x4c3717);},{'priority':_0x50286e(0x24d)}):_0x68ec4b[_0x50286e(0x217)]({'channelId':_0x2f46f5,'threadId':_0xe9d2f1})[_0x50286e(0x1d4)](_0x3ffff1=>{const _0x545b90=_0x50286e;if(_0x545b90(0x235)!==_0x59b285[_0x545b90(0x227)]){if(_0x251f76=_0x3ffff1,_0x251f76&&!_0x251f76[_0x545b90(0x205)]){const _0x5e5600=_0x251f76[_0x545b90(0x24e)](()=>this[_0x545b90(0x228)](_0xe9d2f1));_0x6b069e[_0x545b90(0x1e3)](_0x5e5600),_0x251f76[_0x545b90(0x1ca)]&&this[_0x545b90(0x222)](_0xe9d2f1);}else{if(!_0x251f76){const _0x4d9019=this[_0x545b90(0x1de)](_0xe9d2f1);_0x59b285[_0x545b90(0x1fc)][_0x545b90(0x1e5)](_0x5a21de=>{const _0x15dcb2=_0x545b90;for(const _0xec69f7 of _0x4d9019)_0x5a21de[_0x15dcb2(0x1da)](_0xec69f7);});}}}}),_0x251f76;}[_0x1affdc(0x25b)](_0x4e8568,_0x38b23d){const _0x375fbb=_0x1affdc,_0x3950de=this[_0x375fbb(0x1fb)](_0x4e8568,_0x38b23d);_0x3950de&&!_0x3950de[_0x375fbb(0x22f)]&&_0x3950de[_0x375fbb(0x247)]({'type':_0x375fbb(0x1f0),'value':this[_0x375fbb(0x250)](_0x38b23d)});}[_0x1affdc(0x210)](){const _0x255477=_0x1affdc,_0xda16c0=this[_0x255477(0x254)];_0x39985b(_0xda16c0[_0x255477(0x1fc)],({left:_0xfb57e1,entered:_0x31ee11})=>{const _0x259dda=_0x255477;for(const _0x4c94d7 of _0xfb57e1)if(ht(_0x4c94d7)){_0xda16c0['ui'][_0x259dda(0x202)][_0x259dda(0x208)](_0x16e956(_0xda16c0[_0x259dda(0x251)],_0x259dda(0x242)));break;}for(const _0x48293c of _0x31ee11)if(ht(_0x48293c)){_0xda16c0['ui'][_0x259dda(0x202)][_0x259dda(0x208)](_0x16e956(_0xda16c0[_0x259dda(0x251)],_0x259dda(0x25c),_0x18a866(_0x38cbc4)));break;}});}}function mt(_0x1a2323,_0x2d533f){return _0x2d533f?_0x1a2323+':'+_0x2d533f:_0x1a2323;}export function splitMarkerName(_0x30fee3){const _0x3761bc=_0x1affdc,_0xc4ebf2=_0x30fee3[_0x3761bc(0x223)](':');return{'group':_0xc4ebf2[0x0],'id':_0xc4ebf2[0x1],'part':_0xc4ebf2[0x2]};}function dt(_0x46aa4e,_0x554393){const _0x42a80a=_0x1affdc,_0x2748a7=_0x554393[_0x42a80a(0x216)],_0x268319=_0x554393[_0x42a80a(0x1e9)](_0x46aa4e[_0x42a80a(0x20d)]);for(const _0x31228a of _0x46aa4e[_0x42a80a(0x203)]()){const {type:_0x23067c,item:_0x527d29,nextPosition:_0xb9a76a}=_0x31228a;if(_0x42a80a(0x1f0)===_0x23067c||_0x2748a7[_0x42a80a(0x249)](_0x527d29)){const _0x91261d=_0x554393[_0x42a80a(0x1c8)](_0x527d29);_0x268319[_0x42a80a(0x236)]&&(_0x268319[_0x42a80a(0x20d)]=_0x91261d),_0x268319[_0x42a80a(0x21e)]=_0xb9a76a;}}return _0x268319;}function _0x2f3b(){const _0x59d3a1=['unlinkedAt','_getTextContext','locale','markerToData','$graveyard','editor','config','editing','comment:','setUnlinkedAt','isLocal','ready','_handleThreadMarker','ENTER_COMMENT_ANNOUNCEMENT','change:isThreadsLoadingPaused','collaboration.channelId','commands','comments','createPositionBefore','document','isResolved','3177858uOFzAr','for','resolveCommentThread','_hasTargetInContent','view','getByInnerView','upcast','refreshVisibility','author','then','markerToHighlight','once','hasMarkerForId','getChangedMarkers','_initializeMarkerConverters','removeMarker','760xgvfJo','set','hasDomSelection','getAllMarkersForId','87219HOYdBg','delete','listenTo','data','registerAnnotation','elementToElement','change','reopenCommentThread','2250thVamK','addComment','createRange','comment','conversion','hasCommentThread','2019GrOXNn','init','createElement','text','differ','push','add','ignoreResolvedComments','markers','addMarker:','focus','openNewCommentThread','_attachArchivedThread','6193201hAksKZ','_attachMarkerToThread','model','affectsData','getRange','substring','4441730jkYRiK','CommentsEditing','ariaLiveAnnouncer','getWalker','get','isAttached','getAttribute','render','announce','isThreadsLoadingPaused','updateMarker','getCommentThreads','dataDowncast','start','8HwEaAj','_detachCommentThread','_initAriaMarkerChangeAnnouncements','$textProxy','addCommentThread','rootName','consumable','startsWith','schema','fetchCommentThread','_threadToController','$marker','item','consume','scrollToThreadMarker','markerName','end','from','clear','getCommentThread','_reconvertMarkers','split','plugins','group','isEqual','state','_getTargetForId','removeCommentThread','activeMarker','removeMarker:','enqueueChange','_threads','dataToMarker','context','root','3weHsXe','440754aiuBfG','ck-comment-marker--active','ck-comment-marker','destroyed','isCollapsed','getItems','size','destroy','newRange','reconvertMarker','length','pluginName','name','4694796RWyyeg','change:isReadOnly','managedUsingOperations','LEAVE_COMMENT_ANNOUNCEMENT','_handleMarkerAddAndRemove','hasContent','editingDowncast','first','setContext','registerPostFixer','isObject','requires','change:activeMarker','switchReadOnly','low','attachTo'];_0x2f3b=function(){return _0x59d3a1;};return _0x2f3b();}function ht(_0x1d1345){const _0xeaa089=_0x1affdc;return _0xeaa089(0x1ea)===splitMarkerName(_0x1d1345[_0xeaa089(0x23e)])[_0xeaa089(0x225)];}
|