@ckeditor/ckeditor5-comments 44.0.0-alpha.9 → 44.1.0-alpha.0
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/annotations/annotation.d.ts +1 -1
- package/dist/annotations/annotationcollection.d.ts +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/annotationsuis.d.ts +1 -1
- package/dist/annotations/editorannotations.d.ts +1 -1
- package/dist/annotations/inlineannotations.d.ts +1 -1
- package/dist/annotations/narrowsidebar.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +1 -1
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/dist/annotations/view/annotationview.d.ts +1 -1
- package/dist/annotations/view/sidebaritemview.d.ts +1 -1
- package/dist/annotations/view/sidebarview.d.ts +1 -1
- package/dist/annotations/widesidebar.d.ts +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/comments/addcommentthreadcommand.d.ts +1 -1
- package/dist/comments/commentsarchive.d.ts +1 -1
- package/dist/comments/commentsarchiveui.d.ts +1 -1
- package/dist/comments/commentsediting.d.ts +3 -2
- package/dist/comments/commentsrepository.d.ts +1 -1
- package/dist/comments/commentsui.d.ts +1 -1
- package/dist/comments/integrations/clipboard.d.ts +1 -1
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/dist/comments/integrations/importword.d.ts +1 -1
- package/dist/comments/integrations/showcommenthighlights.d.ts +23 -0
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/dist/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/basecommentview.d.ts +1 -1
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/dist/comments/ui/view/commentcontentview.d.ts +1 -1
- package/dist/comments/ui/view/commentinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/dist/comments/ui/view/commentslistview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/commentview.d.ts +1 -1
- package/dist/comments.d.ts +1 -1
- package/dist/commentsonly.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index-content.css +30 -0
- package/dist/index-editor.css +0 -27
- package/dist/index.css +19 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils/createmutationobserver.d.ts +1 -1
- package/package.json +16 -15
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +3 -2
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.d.ts +19 -0
- package/src/comments/integrations/showcommenthighlights.js +23 -0
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +3 -3
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x380a19=_0xab1b;function _0xab1b(_0x123af1,_0x133fc7){const _0x259740=_0x2597();return _0xab1b=function(_0xab1ba4,_0x360b4c){_0xab1ba4=_0xab1ba4-0xac;let _0x1fb1a8=_0x259740[_0xab1ba4];return _0x1fb1a8;},_0xab1b(_0x123af1,_0x133fc7);}(function(_0xeff1f,_0x554bd1){const _0x35e2ed=_0xab1b,_0x3f251a=_0xeff1f();while(!![]){try{const _0xc1f828=-parseInt(_0x35e2ed(0xca))/0x1+parseInt(_0x35e2ed(0xdf))/0x2+-parseInt(_0x35e2ed(0xde))/0x3*(parseInt(_0x35e2ed(0x102))/0x4)+-parseInt(_0x35e2ed(0xc4))/0x5*(parseInt(_0x35e2ed(0xea))/0x6)+parseInt(_0x35e2ed(0xae))/0x7+-parseInt(_0x35e2ed(0xb0))/0x8+parseInt(_0x35e2ed(0xe7))/0x9;if(_0xc1f828===_0x554bd1)break;else _0x3f251a['push'](_0x3f251a['shift']());}catch(_0x20ab6a){_0x3f251a['push'](_0x3f251a['shift']());}}}(_0x2597,0x35bb3));import{Plugin as _0x3e2b65}from'ckeditor5/src/core.js';import _0x2fae5b from'./commentsrepository.js';import _0x21a9c8 from'./commentsediting.js';import _0x5dc0bd from'../annotations/editorannotations.js';function _0x2597(){const _0x6f3bb1=['componentFactory','activeMarker','_threadToController','usageLimit','bind','config','change:activeAnnotations','has','from','CommentsUI','hasMarkerForId','503990KWyDoI','Comments','commands','commentsLicenseKeyExpired','comment:','Comment','246348IUqKzC','length','focus','_showLicenseError','editing','isPremiumPlugin','commentsLicenseKeyUsageLimit','hasCommentThread','commentsLicenseKeyEvaluationLimit','CommentsListView','tooltip','evaluationLimit','CommentThreadInputView','getAllMarkersForId','isFocused','find','invalid','domainLimit','featureNotAllowed','destroy','21MROrVv','488348QrXcnJ','commentsLicenseKeyTrialLimit','commentsLicenseKeyValid','menuBar:comment','highest','expired','developmentLimit','requires','8471322pHJXxb','model','trialLimit','6PGarwJ','addSourceCollector','commentsLicenseKeyInvalid','view','commentsLicenseKeyDomainLimit','commentsLicenseKeyNotAllowed','init','low','focusTracker','_viewToController','map','comment','execute','addComment','removeCommentThread','getRange','innerView','editor','stop','add','commentsLicenseKeyDevelopmentLimit','pluginName','listenTo','locale','241712FEZTpT','push','getCommentThread','482013FTXcBD','get','2112528HAGmXS','addCommentThread','isOfficialPlugin','_createUIButton','_licenseKeyCheckInterval','isEnabled','licenseKey','set','plugins'];_0x2597=function(){return _0x6f3bb1;};return _0x2597();}import{ButtonView as _0x2753f5,MenuBarMenuListItemButtonView as _0x13d1a6}from'ckeditor5/src/ui.js';import _0xc84887 from'../../theme/icons/add-comment.svg';import _0x5939da from'../annotations/annotations.js';import _0x277fe6 from'./ui/view/commentslistview.js';import _0x442ebf from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x27c371}from'../utils/common-translations.js';export default class i extends _0x3e2b65{static get[_0x380a19(0xff)](){const _0x5165a5=_0x380a19;return _0x5165a5(0xc2);}static get[_0x380a19(0xb2)](){return!0x0;}static get[_0x380a19(0xcf)](){return!0x0;}static get[_0x380a19(0xe6)](){return[_0x2fae5b,_0x21a9c8,_0x5dc0bd,_0x5939da];}get[_0x380a19(0xd3)](){return _0x277fe6;}get[_0x380a19(0xd6)](){return _0x442ebf;}[_0x380a19(0xf0)](){const _0x484c48=_0x380a19,_0x53194b=this[_0x484c48(0xfb)],_0x1337aa=_0x53194b[_0x484c48(0xb8)][_0x484c48(0xaf)](_0x2fae5b),_0x4948de=_0x53194b[_0x484c48(0xb8)][_0x484c48(0xaf)](_0x21a9c8),_0x3d29ab=_0x53194b[_0x484c48(0xb8)][_0x484c48(0xaf)](_0x5939da),_0x54f5f7=_0x53194b[_0x484c48(0xb8)][_0x484c48(0xaf)](_0x5dc0bd);_0x53194b['ui'][_0x484c48(0xb9)][_0x484c48(0xfd)](_0x484c48(0xf5),()=>{const _0x283c3a=_0x484c48,_0x4e9623=this[_0x283c3a(0xb3)](_0x2753f5);return _0x4e9623[_0x283c3a(0xd4)]=!0x0,_0x4e9623;}),_0x53194b['ui'][_0x484c48(0xb9)][_0x484c48(0xfd)](_0x484c48(0xe2),()=>this[_0x484c48(0xb3)](_0x13d1a6)),_0x54f5f7[_0x484c48(0xeb)](()=>{const _0x5b0a69=_0x484c48,_0x38259e=[];for(const [_0x30d779,_0x3b616a]of _0x1337aa[_0x5b0a69(0xbb)]){const _0x11677c=_0x4948de[_0x5b0a69(0xd7)](_0x30d779['id']),_0x4e697d=_0x11677c[_0x5b0a69(0xf4)](_0x4772a6=>_0x4772a6[_0x5b0a69(0xf9)]());_0x11677c[_0x5b0a69(0xcb)]>0x0&&_0x38259e[_0x5b0a69(0xac)]([_0x3b616a[_0x5b0a69(0xed)],_0x4e697d]);}return _0x38259e;}),this[_0x484c48(0x100)](_0x3d29ab,_0x484c48(0xbf),(_0x59095d,_0x40745c,_0x3db44c)=>{const _0x2eddb8=_0x484c48,_0x518114=Array[_0x2eddb8(0xc1)](_0x3db44c)[_0x2eddb8(0xf4)](_0x1ceb65=>_0x1ceb65[_0x2eddb8(0xfa)])[_0x2eddb8(0xd9)](_0x57e3d5=>_0x1337aa[_0x2eddb8(0xf3)][_0x2eddb8(0xc0)](_0x57e3d5));if(!_0x518114)return void(_0x4948de[_0x2eddb8(0xba)]=null);const _0x547823=_0x1337aa[_0x2eddb8(0xf3)][_0x2eddb8(0xaf)](_0x518114)[_0x2eddb8(0xe8)]['id'],_0x5ee023=_0x2eddb8(0xc8)+_0x547823;_0x547823&&_0x4948de[_0x2eddb8(0xc3)](_0x547823)?_0x4948de[_0x2eddb8(0xba)]=_0x5ee023:_0x4948de[_0x2eddb8(0xba)]&&(_0x4948de[_0x2eddb8(0xba)]=null);}),this[_0x484c48(0x100)](_0x1337aa,_0x484c48(0xf8),(_0x570c6d,{threadId:_0x2cf4b6,isFromAdapter:_0x3ff817})=>{const _0x2e74a5=_0x484c48;!_0x3ff817&&_0x53194b['ui'][_0x2e74a5(0xf2)][_0x2e74a5(0xd8)]&&_0x4948de[_0x2e74a5(0xc3)](_0x2cf4b6)&&_0x53194b[_0x2e74a5(0xce)][_0x2e74a5(0xed)][_0x2e74a5(0xcc)]();},{'priority':_0x484c48(0xe3)}),this[_0x484c48(0x100)](_0x1337aa,_0x484c48(0xf7),(_0x29eacd,{threadId:_0xd5cefd,isFromAdapter:_0x42e26e})=>{const _0x1f03fb=_0x484c48;if(_0x42e26e||!_0x4948de[_0x1f03fb(0xc3)](_0xd5cefd)||!_0x1337aa[_0x1f03fb(0xd1)](_0xd5cefd))return;0x1===_0x1337aa[_0x1f03fb(0xad)](_0xd5cefd)[_0x1f03fb(0xcb)]&&(_0x53194b[_0x1f03fb(0xce)][_0x1f03fb(0xed)][_0x1f03fb(0xcc)](),_0x29eacd[_0x1f03fb(0xfc)]());},{'priority':_0x484c48(0xf1)}),this[_0x484c48(0xb6)]=this[_0x484c48(0xfb)][_0x484c48(0xbe)][_0x484c48(0xaf)](_0x484c48(0xb6));const _0x5c9f0e=this[_0x484c48(0xfb)];this[_0x484c48(0xb4)]=setInterval(()=>{const _0x3225ff=_0x484c48;let _0x36cdf6;for(const _0x291a21 in _0x5c9f0e){const _0x31f05d=_0x291a21,_0x5014cc=_0x5c9f0e[_0x31f05d];if(_0x3225ff(0xe1)==_0x5014cc||_0x3225ff(0xec)==_0x5014cc||_0x3225ff(0xc7)==_0x5014cc||_0x3225ff(0xee)==_0x5014cc||_0x3225ff(0xef)==_0x5014cc||_0x3225ff(0xd2)==_0x5014cc||_0x3225ff(0xe0)==_0x5014cc||_0x3225ff(0xfe)==_0x5014cc||_0x3225ff(0xd0)==_0x5014cc){delete _0x5c9f0e[_0x31f05d],_0x36cdf6=_0x5014cc,clearInterval(this[_0x3225ff(0xb4)]),this[_0x3225ff(0xb4)]=void 0x0;break;}}_0x3225ff(0xec)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xda)),_0x3225ff(0xc7)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xe4)),_0x3225ff(0xee)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xdb)),_0x3225ff(0xef)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xdc),_0x3225ff(0xc5)),_0x3225ff(0xd2)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xd5)),_0x3225ff(0xe0)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xe9)),_0x3225ff(0xfe)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xe5)),_0x3225ff(0xd0)==_0x36cdf6&&_0x5c9f0e[_0x3225ff(0xcd)](_0x3225ff(0xbc));},0x3e8);}[_0x380a19(0xdd)](){const _0x5a8ce2=_0x380a19;super[_0x5a8ce2(0xdd)](),this[_0x5a8ce2(0xb4)]&&clearInterval(this[_0x5a8ce2(0xb4)]);}[_0x380a19(0xb3)](_0x2e89fc){const _0x272026=_0x380a19,_0x4680b3=this[_0x272026(0xfb)],_0x1742cb=new _0x2e89fc(_0x4680b3[_0x272026(0x101)]),_0x219fe8=_0x4680b3[_0x272026(0xc6)][_0x272026(0xaf)](_0x272026(0xb1));return _0x1742cb[_0x272026(0xb7)]({'label':_0x27c371(_0x4680b3[_0x272026(0x101)],_0x272026(0xc9)),'icon':_0xc84887}),_0x1742cb[_0x272026(0xbd)](_0x272026(0xb5))['to'](_0x219fe8),this[_0x272026(0x100)](_0x1742cb,_0x272026(0xf6),()=>_0x219fe8[_0x272026(0xf6)]()),_0x1742cb;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/integrations/clipboard
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x39dd(){const _0x42828f=['keys','525678WubSts','_removeMarkersWithoutThreads','get','split','default','ClipboardPipeline','comments.copyMarkers','plugins','afterInit','244sBMMST','_registerMarkerInClipboardPipeline','content','CommentsRepository','_registerMarkerToCopy','448nDdClS','dragstart','13071WOKBNl','editor','config','cut','markers','hasCommentThread','353118FAwUYr','64719oeTjIx','define','1797845QxvBRN','has','ClipboardMarkersUtils','listenTo','comment','delete','contentInsertion','all','always','105669kRPdbB','1678710VMgumB','never','requires','highest','_mapCommentsCopyConfigToRegisterConfiguration'];_0x39dd=function(){return _0x42828f;};return _0x39dd();}function _0x30a7(_0x5a1fbd,_0x5258dd){const _0x39dd36=_0x39dd();return _0x30a7=function(_0x30a73c,_0x1b88ff){_0x30a73c=_0x30a73c-0x199;let _0x121e30=_0x39dd36[_0x30a73c];return _0x121e30;},_0x30a7(_0x5a1fbd,_0x5258dd);}const _0xaeaa90=_0x30a7;(function(_0x4b5258,_0x1302ea){const _0x4f811e=_0x30a7,_0x20890a=_0x4b5258();while(!![]){try{const _0x4fe284=parseInt(_0x4f811e(0x1b8))/0x1+-parseInt(_0x4f811e(0x1a1))/0x2+parseInt(_0x4f811e(0x1b1))/0x3*(-parseInt(_0x4f811e(0x1aa))/0x4)+parseInt(_0x4f811e(0x19b))/0x5+-parseInt(_0x4f811e(0x1b7))/0x6+-parseInt(_0x4f811e(0x1ba))/0x7+parseInt(_0x4f811e(0x1af))/0x8*(parseInt(_0x4f811e(0x19a))/0x9);if(_0x4fe284===_0x1302ea)break;else _0x20890a['push'](_0x20890a['shift']());}catch(_0xd677c9){_0x20890a['push'](_0x20890a['shift']());}}}(_0x39dd,0x34295));import{Plugin as _0x30c755}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3a8c6e,ClipboardMarkersUtils as _0x18c64a}from'ckeditor5/src/clipboard.js';export default class at extends _0x30c755{constructor(_0x49c436){const _0x9c28ed=_0x30a7;super(_0x49c436),this[_0x9c28ed(0x1b2)][_0x9c28ed(0x1b3)][_0x9c28ed(0x1b9)](_0x9c28ed(0x1a7),_0x9c28ed(0x1a5));}static get[_0xaeaa90(0x19d)](){return[_0x18c64a,_0x3a8c6e];}[_0xaeaa90(0x1a9)](){const _0x45cf97=_0xaeaa90,_0x631ce9=this[_0x45cf97(0x1b2)][_0x45cf97(0x1a8)][_0x45cf97(0x1a3)](_0x45cf97(0x1a6));this[_0x45cf97(0x1ab)](),this[_0x45cf97(0x1bd)](_0x631ce9,_0x45cf97(0x1c0),(_0x3f6303,_0x32d353)=>this[_0x45cf97(0x1a2)](_0x32d353[_0x45cf97(0x1ac)][_0x45cf97(0x1b5)]),{'priority':_0x45cf97(0x19e)});}[_0xaeaa90(0x1a2)](_0x38bae0){const _0x44bb31=_0xaeaa90;if(!this[_0x44bb31(0x1b2)][_0x44bb31(0x1a8)][_0x44bb31(0x1bb)](_0x44bb31(0x1ad)))return _0x38bae0;const _0x1a1ea4=this[_0x44bb31(0x1b2)][_0x44bb31(0x1a8)][_0x44bb31(0x1a3)](_0x44bb31(0x1ad));for(const _0x1cf98d of _0x38bae0[_0x44bb31(0x1a0)]()){const [_0x5a0b35,_0x16d040]=_0x1cf98d[_0x44bb31(0x1a4)](':');_0x44bb31(0x1be)!=_0x5a0b35||_0x1a1ea4[_0x44bb31(0x1b6)](_0x16d040)||_0x38bae0[_0x44bb31(0x1bf)](_0x1cf98d);}return _0x38bae0;}[_0xaeaa90(0x1ab)](){const _0xb54416=_0xaeaa90,_0xe271d8=this[_0xb54416(0x1b2)][_0xb54416(0x1a8)][_0xb54416(0x1a3)](_0xb54416(0x1bc)),_0x4585d4=this[_0xb54416(0x19f)](this[_0xb54416(0x1b2)][_0xb54416(0x1b3)][_0xb54416(0x1a3)](_0xb54416(0x1a7)));_0x4585d4&&_0xe271d8[_0xb54416(0x1ae)](_0xb54416(0x1be),_0x4585d4);}[_0xaeaa90(0x19f)](_0x4e9dee){const _0x461c90=_0xaeaa90;switch(_0x4e9dee){case _0x461c90(0x199):return{'allowedActions':_0x461c90(0x1c1),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x461c90(0x1a5):return{'allowedActions':[_0x461c90(0x1b4),_0x461c90(0x1b0)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x461c90(0x19c):return null;default:return null;}}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/integrations/commentsrestrictededitingmode
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ff128=_0x4b59;(function(_0x4a745f,_0x432e54){const _0x285d05=_0x4b59,_0x32b0f6=_0x4a745f();while(!![]){try{const _0x4c40de=parseInt(_0x285d05(0x1f2))/0x1+parseInt(_0x285d05(0x1ec))/0x2+parseInt(_0x285d05(0x1f4))/0x3+-parseInt(_0x285d05(0x1ed))/0x4*(parseInt(_0x285d05(0x1eb))/0x5)+parseInt(_0x285d05(0x1ea))/0x6+-parseInt(_0x285d05(0x1f7))/0x7*(parseInt(_0x285d05(0x1e8))/0x8)+parseInt(_0x285d05(0x1e9))/0x9;if(_0x4c40de===_0x432e54)break;else _0x32b0f6['push'](_0x32b0f6['shift']());}catch(_0x4c8a91){_0x32b0f6['push'](_0x32b0f6['shift']());}}}(_0x3cd7,0x7b04f));import{Plugin as _0xa6998f}from'ckeditor5/src/core.js';function _0x3cd7(){const _0x46f4c3=['get','plugins','305965irDkvA','enableCommand','2755443LmXnVf','has','editor','5822936WifIhv','addCommentThread','8NWeZZi','1089135UCfTOd','2982618mMgJmX','1531140tHpfZi','823710oRIYij','12kOpOxN','afterInit','RestrictedEditingModeEditing'];_0x3cd7=function(){return _0x46f4c3;};return _0x3cd7();}function _0x4b59(_0x1d8a96,_0x2e0830){const _0x3cd7ce=_0x3cd7();return _0x4b59=function(_0x4b5973,_0x484aca){_0x4b5973=_0x4b5973-0x1e8;let _0x29f6a7=_0x3cd7ce[_0x4b5973];return _0x29f6a7;},_0x4b59(_0x1d8a96,_0x2e0830);}export default class st extends _0xa6998f{[_0x4ff128(0x1ee)](){const _0x5d950b=_0x4ff128,_0x2a4f8f=this[_0x5d950b(0x1f6)];if(!_0x2a4f8f[_0x5d950b(0x1f1)][_0x5d950b(0x1f5)](_0x5d950b(0x1ef)))return;_0x2a4f8f[_0x5d950b(0x1f1)][_0x5d950b(0x1f0)](_0x5d950b(0x1ef))[_0x5d950b(0x1f3)](_0x5d950b(0x1f8));}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/integrations/importword
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a7794=_0x35e2;(function(_0x3a90bf,_0x22ca34){const _0x56dcc6=_0x35e2,_0x87e529=_0x3a90bf();while(!![]){try{const _0x4987d7=parseInt(_0x56dcc6(0x139))/0x1*(parseInt(_0x56dcc6(0x13e))/0x2)+-parseInt(_0x56dcc6(0x145))/0x3+parseInt(_0x56dcc6(0x133))/0x4*(-parseInt(_0x56dcc6(0x147))/0x5)+-parseInt(_0x56dcc6(0x135))/0x6+parseInt(_0x56dcc6(0x134))/0x7+-parseInt(_0x56dcc6(0x148))/0x8*(parseInt(_0x56dcc6(0x137))/0x9)+parseInt(_0x56dcc6(0x13a))/0xa;if(_0x4987d7===_0x22ca34)break;else _0x87e529['push'](_0x87e529['shift']());}catch(_0x38cbd5){_0x87e529['push'](_0x87e529['shift']());}}}(_0xaca7,0x9878e));function _0x35e2(_0xadb766,_0x2321a6){const _0xaca7ba=_0xaca7();return _0x35e2=function(_0x35e26e,_0x2de061){_0x35e26e=_0x35e26e-0x12b;let _0x1b0dcc=_0xaca7ba[_0x35e26e];return _0x1b0dcc;},_0x35e2(_0xadb766,_0x2321a6);}import{Plugin as _0x4746de}from'ckeditor5/src/core.js';import{priorities as _0x595688}from'ckeditor5/src/utils.js';import{Users as _0x313d63}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xaca7(){const _0x49570a=['afterInit','define','commands','execute','1231239mjDWts','collaboration_features','2580455jDQzik','1184oDniMb','editor','importWord.formatting.comments','importWord','config','collaboration.channelId','forEach','basic','high','4tjcCYK','8300775jWhQfq','2298072VcDOkd','listenTo','34785hfkQcU','_handleImportedData','1451psVxnt','5497560fgceSc','dataInsert','addCommentThread','map','1062qhFInN','plugins','get'];_0xaca7=function(){return _0x49570a;};return _0xaca7();}import _0x5bca43 from'../commentsrepository.js';export default class ct extends _0x4746de{constructor(_0x598052){const _0x58eb0d=_0x35e2;super(_0x598052),this[_0x58eb0d(0x12b)][_0x58eb0d(0x12e)][_0x58eb0d(0x142)](_0x58eb0d(0x12c),_0x58eb0d(0x131));}[_0x2a7794(0x141)](){const _0x5d9d21=_0x2a7794,_0x4a3851=this[_0x5d9d21(0x12b)],_0x1578e3=_0x4a3851[_0x5d9d21(0x143)][_0x5d9d21(0x140)](_0x5d9d21(0x12d)),_0x45b15c=_0x4a3851[_0x5d9d21(0x13f)][_0x5d9d21(0x140)](_0x313d63);_0x1578e3&&(_0x1578e3['on'](_0x5d9d21(0x144),(_0x3f9133,[,_0x427794])=>{const _0x4da25b=_0x5d9d21;_0x427794[_0x4da25b(0x146)]={'comments':!0x0,'user_id':_0x45b15c['me']['id']};},{'priority':_0x595688[_0x5d9d21(0x132)]+0xa}),this[_0x5d9d21(0x136)](_0x1578e3,_0x5d9d21(0x13b),this[_0x5d9d21(0x138)]));}[_0x2a7794(0x138)](_0x380962,_0x47d615){const _0x51ade0=_0x2a7794,{comment_threads:_0x5b5889}=_0x47d615;_0x5b5889&&_0x5b5889[_0x51ade0(0x130)](({thread_id:_0x4f5dc4,comments:_0x4f7f71,is_resolved:_0x44e9ec})=>{const _0x238124=_0x51ade0,_0x32c297=new Date(),_0x12a067=_0x4f7f71[_0x238124(0x13d)](({author:_0x59bb41,content:_0x1f30fa,created_at:_0x27fc33})=>({'content':_0x1f30fa,'authorId':this[_0x238124(0x12b)][_0x238124(0x13f)][_0x238124(0x140)](_0x313d63)['me']['id'],'createdAt':_0x32c297,'attributes':{'@external':{'authorName':_0x59bb41,'createdAt':_0x27fc33?new Date(_0x27fc33):new Date(),'source':_0x238124(0x12d)}}})),_0x32fdbf=this[_0x238124(0x12b)][_0x238124(0x12e)][_0x238124(0x140)](_0x238124(0x12f));this[_0x238124(0x12b)][_0x238124(0x13f)][_0x238124(0x140)](_0x5bca43)[_0x238124(0x13c)]({'channelId':_0x32fdbf,'threadId':_0x4f5dc4,'comments':_0x12a067,'resolvedAt':_0x44e9ec?_0x32c297:null});});}}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module comments/integrations/showcommenthighlights
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* Provides integrations for getting editor data with `showCommentHightlights` option enabled for the features that need it.
|
|
11
|
+
* Some of them are similar or duplicates from the `showSuggestionHighlights` option handling in the track changes feature.
|
|
12
|
+
* Unfortunately, for now there's no single place where they could be shared and reused, so both plugins have to add them separately.
|
|
13
|
+
*/
|
|
14
|
+
export default class ShowCommentHighlights extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
init(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x34871a=_0x4ca4;function _0x1b3e(){const _0x1af750=['writer','attribute:url:media','consumable','elementToStructure','ignoreResolvedComments','showCommentHighlights','schema','consume','markerToHighlight','2242877dxuukM','mapper','468296jBNANI','data','addMarker:','div','high','stop','span','insert','dataDowncast','ck-comment-marker','addClass','ck-horizontal-line','downcastDispatcher','conversion','containerElement','overrideHorizontalRuleConverter','media','editor','isResolved','overrideMarkerConverters','toViewElement','1384209gPwCPw','item','imageInline','createEmptyElement','removeMarker:','createPositionAt','elementToElement','getCustomProperty','2284912imMmHt','options','plugins','getCommentThread','get','isObject','30UGWcxy','comment','widget','overrideMediaEmbedConverter','for','image-inline','model','init','237780LJqQhU','createContainerElement','add','overrideImageInlineConverter','addMarker:comment','markerName','264481EAApno','8tfHpWD','horizontalLine','999927WgdOjM','img'];_0x1b3e=function(){return _0x1af750;};return _0x1b3e();}function _0x4ca4(_0x2877c5,_0x4db41e){const _0x1b3ee1=_0x1b3e();return _0x4ca4=function(_0x4ca41f,_0x563a9c){_0x4ca41f=_0x4ca41f-0x1f0;let _0xee829b=_0x1b3ee1[_0x4ca41f];return _0xee829b;},_0x4ca4(_0x2877c5,_0x4db41e);}(function(_0x1ee547,_0xd0d3f){const _0x89f71f=_0x4ca4,_0xc9d6ff=_0x1ee547();while(!![]){try{const _0x1a0132=parseInt(_0x89f71f(0x21a))/0x1+parseInt(_0x89f71f(0x22a))/0x2+parseInt(_0x89f71f(0x1fe))/0x3+-parseInt(_0x89f71f(0x206))/0x4+-parseInt(_0x89f71f(0x20c))/0x5*(parseInt(_0x89f71f(0x214))/0x6)+-parseInt(_0x89f71f(0x228))/0x7*(-parseInt(_0x89f71f(0x21b))/0x8)+-parseInt(_0x89f71f(0x21d))/0x9;if(_0x1a0132===_0xd0d3f)break;else _0xc9d6ff['push'](_0xc9d6ff['shift']());}catch(_0x4634a9){_0xc9d6ff['push'](_0xc9d6ff['shift']());}}}(_0x1b3e,0x57f8c));import{Plugin as _0x1705ad}from'ckeditor5/src/core.js';import{toWidget as _0x595382}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x24b400}from'../commentsediting.js';import _0x27ecc0 from'../commentsrepository.js';export default class ut extends _0x1705ad{[_0x34871a(0x213)](){const _0x34bc56=_0x34871a;this[_0x34bc56(0x1fc)](),this[_0x34bc56(0x1f8)](),this[_0x34bc56(0x217)](),this[_0x34bc56(0x20f)]();}[_0x34871a(0x1fc)](){const _0x5d9748=_0x34871a;this[_0x5d9748(0x1fa)][_0x5d9748(0x1f6)][_0x5d9748(0x210)](_0x5d9748(0x1f1))[_0x5d9748(0x227)]({'model':_0x5d9748(0x20d),'view':(_0x573ae7,_0x520511)=>{const _0x597aca=_0x5d9748;if(!_0x520511[_0x597aca(0x207)][_0x597aca(0x224)])return null;if(_0x520511[_0x597aca(0x207)][_0x597aca(0x223)]){const {id:_0x2303ae}=_0x24b400(_0x573ae7[_0x597aca(0x219)]),_0x30af9a=this[_0x597aca(0x1fa)][_0x597aca(0x208)][_0x597aca(0x20a)](_0x27ecc0)[_0x597aca(0x209)](_0x2303ae);if(_0x30af9a&&_0x30af9a[_0x597aca(0x1fb)]&&_0x573ae7[_0x597aca(0x1ff)])return _0x520511[_0x597aca(0x221)][_0x597aca(0x226)](_0x573ae7[_0x597aca(0x1ff)],_0x597aca(0x22c)+_0x573ae7[_0x597aca(0x219)]),_0x520511[_0x597aca(0x221)][_0x597aca(0x226)](_0x573ae7[_0x597aca(0x1ff)],_0x597aca(0x202)+_0x573ae7[_0x597aca(0x219)]),null;}return{'classes':[_0x597aca(0x1f2)]};}}),this[_0x5d9748(0x1fa)][_0x5d9748(0x1f6)][_0x5d9748(0x210)](_0x5d9748(0x1f1))[_0x5d9748(0x216)](_0x3c03e4=>{const _0x4c8c47=_0x5d9748;_0x3c03e4['on'](_0x4c8c47(0x218),(_0x3d642b,_0xb08078,_0x2a37ac)=>{const _0x478d33=_0x4c8c47;if(!_0x2a37ac[_0x478d33(0x207)][_0x478d33(0x224)])return;const _0x54d22b=_0xb08078[_0x478d33(0x1ff)];if(!_0x54d22b)return;const _0x58d1a7=_0x2a37ac[_0x478d33(0x229)][_0x478d33(0x1fd)](_0x54d22b);this[_0x478d33(0x1fa)][_0x478d33(0x212)][_0x478d33(0x225)][_0x478d33(0x20b)](_0x54d22b)&&_0x58d1a7&&!_0x58d1a7[_0x478d33(0x205)](_0x478d33(0x20e))&&_0x58d1a7['is'](_0x478d33(0x1f7))&&_0x595382(_0x58d1a7,_0x2a37ac[_0x478d33(0x21f)]);},{'priority':_0x4c8c47(0x22e)});});}[_0x34871a(0x1f8)](){const _0x15dbe0=_0x34871a;this[_0x15dbe0(0x1fa)][_0x15dbe0(0x1f6)][_0x15dbe0(0x210)](_0x15dbe0(0x1f1))[_0x15dbe0(0x222)]({'model':_0x15dbe0(0x21c),'view':(_0x3dded6,{writer:_0x10ec65,options:_0x5b1cbc})=>{const _0x5bd9b5=_0x15dbe0;if(!_0x5b1cbc[_0x5bd9b5(0x224)])return null;const _0x30bd52=_0x10ec65[_0x5bd9b5(0x215)](_0x5bd9b5(0x22d)),_0x26ff6a=_0x10ec65[_0x5bd9b5(0x201)]('hr');return _0x10ec65[_0x5bd9b5(0x1f3)](_0x5bd9b5(0x1f4),_0x30bd52),_0x10ec65[_0x5bd9b5(0x1f0)](_0x10ec65[_0x5bd9b5(0x203)](_0x30bd52,0x0),_0x26ff6a),_0x30bd52;},'converterPriority':_0x15dbe0(0x22e)});}[_0x34871a(0x217)](){const _0x56a4d1=_0x34871a;this[_0x56a4d1(0x1fa)][_0x56a4d1(0x1f6)][_0x56a4d1(0x210)](_0x56a4d1(0x1f1))[_0x56a4d1(0x222)]({'model':_0x56a4d1(0x200),'view':(_0x154592,{writer:_0x38b0c1,options:_0x16a32b})=>{const _0x32bb95=_0x56a4d1;if(!_0x16a32b[_0x32bb95(0x224)])return null;const _0x589a98=_0x38b0c1[_0x32bb95(0x215)](_0x32bb95(0x230)),_0x51ccd0=_0x38b0c1[_0x32bb95(0x201)](_0x32bb95(0x21e));return _0x38b0c1[_0x32bb95(0x1f3)](_0x32bb95(0x211),_0x589a98),_0x38b0c1[_0x32bb95(0x1f0)](_0x38b0c1[_0x32bb95(0x203)](_0x589a98,0x0),_0x51ccd0),_0x589a98;},'converterPriority':_0x56a4d1(0x22e)});}[_0x34871a(0x20f)](){const _0x4f680c=_0x34871a;this[_0x4f680c(0x1fa)][_0x4f680c(0x1f6)][_0x4f680c(0x210)](_0x4f680c(0x1f1))[_0x4f680c(0x204)]({'model':_0x4f680c(0x1f9),'view':(_0x351e0f,{writer:_0x46cb4c,options:_0x22f21e})=>{const _0x3d6529=_0x4f680c;if(_0x22f21e[_0x3d6529(0x224)])return _0x46cb4c[_0x3d6529(0x201)](_0x3d6529(0x22d));},'converterPriority':_0x4f680c(0x22e)}),this[_0x4f680c(0x1fa)][_0x4f680c(0x22b)][_0x4f680c(0x1f5)]['on'](_0x4f680c(0x220),(_0x304565,_0x5b403f,_0x18a31a)=>{const _0x448603=_0x4f680c;_0x18a31a[_0x448603(0x207)][_0x448603(0x224)]&&_0x304565[_0x448603(0x22f)]();},{'priority':_0x4f680c(0x22e)});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/commenteditor/commenteditor
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x317319=_0x3fd8;(function(_0x365421,_0x57cd3e){const _0x2da284=_0x3fd8,_0x116d1f=_0x365421();while(!![]){try{const _0x5496ec=-parseInt(_0x2da284(0x1b2))/0x1*(parseInt(_0x2da284(0x1a3))/0x2)+parseInt(_0x2da284(0x1cc))/0x3+-parseInt(_0x2da284(0x1b7))/0x4*(-parseInt(_0x2da284(0x1b6))/0x5)+parseInt(_0x2da284(0x1c1))/0x6*(parseInt(_0x2da284(0x1ba))/0x7)+parseInt(_0x2da284(0x1ac))/0x8+-parseInt(_0x2da284(0x1b8))/0x9*(-parseInt(_0x2da284(0x1b1))/0xa)+-parseInt(_0x2da284(0x1c4))/0xb;if(_0x5496ec===_0x57cd3e)break;else _0x116d1f['push'](_0x116d1f['shift']());}catch(_0x51a512){_0x116d1f['push'](_0x116d1f['shift']());}}}(_0x333c,0xa87b4));import{Editor as _0x55a54c}from'ckeditor5/src/core.js';import _0x5878c1 from'./commenteditorui.js';import{ObservableMixin as _0x48873f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x36d5c4,disablePlaceholder as _0x5badb8}from'ckeditor5/src/engine.js';import{Clipboard as _0x61b276}from'ckeditor5/src/clipboard.js';function _0x333c(){const _0x56d777=['223664ARSKuK','33651SGLfVB','change','7fIUJOx','destroy','getChild','focus','map','get','placeholderElement','2464902Ftxfil','join','document','15043490uxeRhu','childCount','initialData','create','createRoot','config','change:placeholder','initPlugins','384819KFRbdq','model','setSelection','set','end','fire','96360XQkiEF','getRoot','placeholder','editing','low','data','_updatePlaceholder','fromCharCode','view','1187176Neqbja','then','init','ready','assign','890pzqYrZ','4KADcEn','plugins','defaultPlugins','name','110jbkPzz'];_0x333c=function(){return _0x56d777;};return _0x333c();}import{Enter as _0x48e339,ShiftEnter as _0x117c82}from'ckeditor5/src/enter.js';import{SelectAll as _0x1003f7}from'ckeditor5/src/select-all.js';import{Typing as _0x29ce48}from'ckeditor5/src/typing.js';import{Undo as _0x5ae62c}from'ckeditor5/src/undo.js';import{Paragraph as _0x1838ef}from'ckeditor5/src/paragraph.js';const Rt=[_0x61b276,_0x48e339,_0x117c82,_0x1003f7,_0x29ce48,_0x5ae62c,_0x1838ef];class Ut extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48873f(_0x55a54c){constructor(_0x1f76ed={}){const _0x2cfd25=_0x3fd8;function _0x454246(_0x468480){const _0x567779=_0x3fd8;return _0x468480[_0x567779(0x1be)](_0x333a66=>String[_0x567779(0x1aa)](_0x333a66))[_0x567779(0x1c2)]('');}(_0x1f76ed=Object[_0x2cfd25(0x1b0)]({},_0x1f76ed))[_0x2cfd25(0x1b3)]||(_0x1f76ed[_0x2cfd25(0x1b3)]=Ut[_0x2cfd25(0x1b4)]),super(_0x1f76ed),this['ui']=new _0x5878c1(this),this[_0x2cfd25(0x1a0)](_0x2cfd25(0x1a5),''),this[_0x2cfd25(0x19e)][_0x2cfd25(0x1c3)]['on'](_0x2cfd25(0x1b9),()=>this[_0x2cfd25(0x1a9)](),{'priority':_0x2cfd25(0x1a7)}),this['on'](_0x2cfd25(0x1ca),()=>this[_0x2cfd25(0x1a9)]()),this[_0x2cfd25(0x19e)][_0x2cfd25(0x1c3)][_0x2cfd25(0x1c8)](),this[_0x454246([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x454246([0x76,0x69,0x65,0x77])][_0x454246([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x454246([0x61,0x75,0x74,0x6f]),this[_0x454246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x454246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x454246([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x454246([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x454246([0x6f,0x6b])});}[_0x317319(0x1c7)](){const _0x2d5100=_0x317319,_0x335311=this[_0x2d5100(0x1c9)][_0x2d5100(0x1bf)](_0x2d5100(0x1c6))||'';return this[_0x2d5100(0x1cb)]()[_0x2d5100(0x1ad)](()=>this['ui'][_0x2d5100(0x1ae)]())[_0x2d5100(0x1ad)](()=>this[_0x2d5100(0x1a8)][_0x2d5100(0x1ae)](_0x335311))[_0x2d5100(0x1ad)](()=>this[_0x2d5100(0x1a2)](_0x2d5100(0x1af)));}[_0x317319(0x1bb)](){const _0x542262=_0x317319;return super[_0x542262(0x1bb)]()[_0x542262(0x1ad)](()=>this['ui'][_0x542262(0x1bb)]());}[_0x317319(0x1bd)](){const _0x515595=_0x317319;this[_0x515595(0x19e)][_0x515595(0x1b9)](_0x226741=>{const _0x368f99=_0x515595,_0x437744=this[_0x368f99(0x19e)][_0x368f99(0x1c3)][_0x368f99(0x1a4)](),_0xb72a41=_0x437744&&_0x437744[_0x368f99(0x1bc)](_0x437744[_0x368f99(0x1c5)]-0x1);_0x226741[_0x368f99(0x19f)](_0xb72a41,_0x368f99(0x1a1)),this[_0x368f99(0x1a6)][_0x368f99(0x1ab)][_0x368f99(0x1bd)]();});}[_0x317319(0x1a9)](){const _0x2dd460=_0x317319,_0x1f076f=this[_0x2dd460(0x1a6)][_0x2dd460(0x1ab)],_0xbcf7d9=_0x1f076f[_0x2dd460(0x1c3)][_0x2dd460(0x1a4)](),_0x20747d=_0xbcf7d9[_0x2dd460(0x1bc)](0x0);_0xbcf7d9[_0x2dd460(0x1c5)]>0x1||!_0x20747d||'p'!=_0x20747d[_0x2dd460(0x1b5)]?this[_0x2dd460(0x1c0)]&&this[_0x2dd460(0x1c0)][_0x2dd460(0x1a5)]&&(_0x5badb8(_0x1f076f,this[_0x2dd460(0x1c0)]),this[_0x2dd460(0x1c0)]=void 0x0):(this[_0x2dd460(0x1a5)]&&(_0x20747d[_0x2dd460(0x1a5)]=this[_0x2dd460(0x1a5)]),_0x36d5c4({'view':_0x1f076f,'element':_0x20747d,'keepOnFocus':!0x0}),this[_0x2dd460(0x1c0)]=_0x20747d);}}function _0x3fd8(_0x57538e,_0x5ec745){const _0x333c11=_0x333c();return _0x3fd8=function(_0x3fd820,_0xf244bb){_0x3fd820=_0x3fd820-0x19e;let _0x4f6db8=_0x333c11[_0x3fd820];return _0x4f6db8;},_0x3fd8(_0x57538e,_0x5ec745);}Ut[_0x317319(0x1b4)]=Rt;export default Ut;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/commenteditor/commenteditorui
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32da(_0x17915e,_0x73d3e3){const _0x3bc90f=_0x3bc9();return _0x32da=function(_0x32da0b,_0x57323f){_0x32da0b=_0x32da0b-0x81;let _0x4e950a=_0x3bc90f[_0x32da0b];return _0x4e950a;},_0x32da(_0x17915e,_0x73d3e3);}const _0x370487=_0x32da;(function(_0x537b56,_0x4b7cf5){const _0x15e4a3=_0x32da,_0x40923c=_0x537b56();while(!![]){try{const _0x16d9ef=-parseInt(_0x15e4a3(0x86))/0x1+-parseInt(_0x15e4a3(0x8a))/0x2+parseInt(_0x15e4a3(0x88))/0x3+parseInt(_0x15e4a3(0x96))/0x4+parseInt(_0x15e4a3(0x84))/0x5+-parseInt(_0x15e4a3(0x8e))/0x6+parseInt(_0x15e4a3(0x97))/0x7;if(_0x16d9ef===_0x4b7cf5)break;else _0x40923c['push'](_0x40923c['shift']());}catch(_0x2bd82a){_0x40923c['push'](_0x40923c['shift']());}}}(_0x3bc9,0xeaacc));import{EditorUI as _0x563208}from'ckeditor5/src/ui.js';import _0x4454c5 from'./commenteditoruiview.js';export default class Ot extends _0x563208{constructor(_0x66cb7b){const _0x17f8a2=_0x32da;super(_0x66cb7b),this[_0x17f8a2(0x89)]=new _0x4454c5(_0x66cb7b[_0x17f8a2(0x81)],_0x66cb7b[_0x17f8a2(0x90)][_0x17f8a2(0x89)]);}get[_0x370487(0x98)](){const _0x591dc6=_0x370487;return this[_0x591dc6(0x89)][_0x591dc6(0x98)];}[_0x370487(0x91)](){const _0x4b87dc=_0x370487,_0x346743=this[_0x4b87dc(0x83)][_0x4b87dc(0x90)][_0x4b87dc(0x89)],_0x232931=this[_0x4b87dc(0x89)][_0x4b87dc(0x93)],_0x283524=_0x346743[_0x4b87dc(0x9a)][_0x4b87dc(0x92)]();_0x232931[_0x4b87dc(0x94)]=_0x283524[_0x4b87dc(0x8c)],this[_0x4b87dc(0x89)][_0x4b87dc(0x85)]();const _0x3b2560=_0x232931[_0x4b87dc(0x98)];this[_0x4b87dc(0x82)](_0x232931[_0x4b87dc(0x94)],_0x3b2560),this[_0x4b87dc(0x89)][_0x4b87dc(0x93)][_0x4b87dc(0x99)](_0x4b87dc(0x9b))['to'](this[_0x4b87dc(0x8b)]),_0x346743[_0x4b87dc(0x95)](_0x3b2560),this[_0x4b87dc(0x87)](_0x4b87dc(0x8d));}[_0x370487(0x8f)](){const _0x277b29=_0x370487;super[_0x277b29(0x8f)](),this[_0x277b29(0x89)][_0x277b29(0x8f)]();}}function _0x3bc9(){const _0x25295d=['3826290frCuEn','focusTracker','rootName','ready','5059260fbEKcD','destroy','editing','init','getRoot','editable','name','attachDomRoot','5751480pEHZzI','6664357jFmMng','element','bind','document','isFocused','locale','setEditableElement','editor','7864595kpZfca','render','1747105dfaAYM','fire','4505544OiCYrj','view'];_0x3bc9=function(){return _0x25295d;};return _0x3bc9();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/commenteditor/commenteditoruiview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x51fd(_0x11a103,_0x2da05d){const _0x15e5fd=_0x15e5();return _0x51fd=function(_0x51fdfa,_0x5e84ea){_0x51fdfa=_0x51fdfa-0xcb;let _0x47d24b=_0x15e5fd[_0x51fdfa];return _0x47d24b;},_0x51fd(_0x11a103,_0x2da05d);}const _0x290cda=_0x51fd;(function(_0x1cedb1,_0x3b5713){const _0x473bb6=_0x51fd,_0x1af416=_0x1cedb1();while(!![]){try{const _0x354241=parseInt(_0x473bb6(0xcf))/0x1*(-parseInt(_0x473bb6(0xe0))/0x2)+-parseInt(_0x473bb6(0xd3))/0x3+parseInt(_0x473bb6(0xdf))/0x4+parseInt(_0x473bb6(0xd6))/0x5+-parseInt(_0x473bb6(0xd5))/0x6+-parseInt(_0x473bb6(0xdb))/0x7+-parseInt(_0x473bb6(0xcc))/0x8*(-parseInt(_0x473bb6(0xdc))/0x9);if(_0x354241===_0x3b5713)break;else _0x1af416['push'](_0x1af416['shift']());}catch(_0xaa5159){_0x1af416['push'](_0x1af416['shift']());}}}(_0x15e5,0x315d8));import{InlineEditableUIView as _0x172f72,EditorUIView as _0x5a95e5}from'ckeditor5/src/ui.js';import{uid as _0x418895}from'ckeditor5/src/utils.js';import{getTranslation as _0x3948c8}from'../../../utils/common-translations.js';function _0x15e5(){const _0x48952c=['ck-editor__main','element','924021hNSWDP','9uhSDbe','Comment\x20editor','div','534424QQVkVb','273404FpccKX','focus','ck-rounded-corners','ck-comment__input','cke-editor__aria-label_','ck-reset','uiLanguage','uiLanguageDirection','4935320pIoVUi','ck-editor','main','1HpHizz','render','setTemplate','editable','788580qQPXQh','createCollection','1191126NnuhwP','908825sDQZmY','presentation','add'];_0x15e5=function(){return _0x48952c;};return _0x15e5();}export default class Xt extends _0x5a95e5{constructor(_0x2bd3bd,_0x1abb02){const _0x43aa64=_0x51fd;super(_0x2bd3bd);const _0x2736b0=_0x418895();this[_0x43aa64(0xce)]=this[_0x43aa64(0xd4)](),this[_0x43aa64(0xd2)]=new _0x172f72(_0x2bd3bd,_0x1abb02,void 0x0,{'label':()=>_0x3948c8(_0x2bd3bd,_0x43aa64(0xdd))}),this[_0x43aa64(0xd1)]({'tag':_0x43aa64(0xde),'attributes':{'class':[_0x43aa64(0xe5),_0x43aa64(0xcd),_0x43aa64(0xe2),_0x43aa64(0xe3)],'dir':_0x2bd3bd[_0x43aa64(0xcb)],'lang':_0x2bd3bd[_0x43aa64(0xe6)],'aria-labelledby':_0x43aa64(0xe4)+_0x2736b0},'children':[{'tag':_0x43aa64(0xde),'attributes':{'class':_0x43aa64(0xd9),'role':_0x43aa64(0xd7)},'children':this[_0x43aa64(0xce)]}]});}[_0x290cda(0xd0)](){const _0xdd90ed=_0x290cda;super[_0xdd90ed(0xd0)](),this[_0xdd90ed(0xce)][_0xdd90ed(0xd8)](this[_0xdd90ed(0xd2)]);}[_0x290cda(0xe1)](){const _0x5882dd=_0x290cda;this[_0x5882dd(0xd2)][_0x5882dd(0xda)][_0x5882dd(0xe1)]();}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { CommentThread } from '../commentsrepository.js';
|
|
6
6
|
import type { default as BaseCommentThreadView } from './view/basecommentthreadview.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x36c2cf=_0x133b;(function(_0xa32afc,_0x2b61b6){var _0x2f8479=_0x133b,_0x2f5fe0=_0xa32afc();while(!![]){try{var _0xa06b46=-parseInt(_0x2f8479(0x126))/0x1*(parseInt(_0x2f8479(0x11f))/0x2)+-parseInt(_0x2f8479(0x125))/0x3*(parseInt(_0x2f8479(0x122))/0x4)+-parseInt(_0x2f8479(0x115))/0x5*(parseInt(_0x2f8479(0x124))/0x6)+-parseInt(_0x2f8479(0x10d))/0x7+parseInt(_0x2f8479(0x119))/0x8*(parseInt(_0x2f8479(0x120))/0x9)+parseInt(_0x2f8479(0x11d))/0xa+parseInt(_0x2f8479(0x113))/0xb;if(_0xa06b46===_0x2b61b6)break;else _0x2f5fe0['push'](_0x2f5fe0['shift']());}catch(_0x3ab8c1){_0x2f5fe0['push'](_0x2f5fe0['shift']());}}}(_0x47c3,0xb26b3));function _0x133b(_0x5d3571,_0x33def3){var _0x47c3c6=_0x47c3();return _0x133b=function(_0x133b0b,_0x3a8709){_0x133b0b=_0x133b0b-0x107;var _0x12bb66=_0x47c3c6[_0x133b0b];return _0x12bb66;},_0x133b(_0x5d3571,_0x33def3);}import{ObservableMixin as _0x14c1f2}from'ckeditor5/src/utils.js';function _0x47c3(){var _0x585ebe=['destroy','_localUser','8598152wHUFFq','_isAttached','removeComment','reopenCommentThread','10005290EMCCfG','submitCommentThread','2eecYSc','9UBWJgg','submit','49688BXqQrX','resolveCommentThread','5622QBGCbW','129OYtpYd','1039937majsKZ','getComment','isResolved','stopListening','addComment','resolve','remove','8975022MpYUhz','update','updateComment','listenTo','removeCommentThread','model','28935632AXqOdA','reopen','5970UIaKzQ','view'];_0x47c3=function(){return _0x585ebe;};return _0x47c3();}export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x14c1f2(){constructor(_0x30fda7,_0x2ed1bd){var _0x2ead09=_0x133b;super(),this[_0x2ead09(0x112)]=_0x30fda7,this[_0x2ead09(0x112)][_0x2ead09(0x11a)]=!0x0,this[_0x2ead09(0x116)]=_0x2ed1bd,this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x11e),()=>this[_0x2ead09(0x121)]()),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x111),()=>this[_0x2ead09(0x10c)]()),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x123),()=>this[_0x2ead09(0x10b)]()),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x11c),()=>this[_0x2ead09(0x114)]()),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x10a),(_0x48e305,_0x4cc0c0)=>this[_0x2ead09(0x10a)](_0x4cc0c0)),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x10f),(_0x908e56,_0x2035bc,_0x51b655)=>this[_0x2ead09(0x10f)](_0x2035bc,_0x51b655)),this[_0x2ead09(0x110)](_0x2ed1bd,_0x2ead09(0x11b),(_0x5e76f0,_0xedda95)=>this[_0x2ead09(0x11b)](_0xedda95));}[_0x36c2cf(0x121)](){var _0x173bf5=_0x36c2cf;this[_0x173bf5(0x112)][_0x173bf5(0x121)]();}[_0x36c2cf(0x10c)](){var _0x2630d2=_0x36c2cf;this[_0x2630d2(0x112)][_0x2630d2(0x10c)]();}[_0x36c2cf(0x10b)](){var _0x564583=_0x36c2cf;this[_0x564583(0x112)][_0x564583(0x108)]||this[_0x564583(0x112)][_0x564583(0x10b)]();}[_0x36c2cf(0x114)](){var _0x1b3762=_0x36c2cf;this[_0x1b3762(0x112)][_0x1b3762(0x108)]&&this[_0x1b3762(0x112)][_0x1b3762(0x114)]();}[_0x36c2cf(0x10a)](_0x95d32e){var _0x3307e4=_0x36c2cf;this[_0x3307e4(0x112)][_0x3307e4(0x10a)]({'content':_0x95d32e,'authorId':this[_0x3307e4(0x116)][_0x3307e4(0x118)]['id']});}[_0x36c2cf(0x10f)](_0x5820d9,_0x587f71){var _0x25caba=_0x36c2cf;this[_0x25caba(0x112)][_0x25caba(0x107)](_0x5820d9)[_0x25caba(0x10e)]({'content':_0x587f71});}[_0x36c2cf(0x11b)](_0x853239){var _0x2a7cf8=_0x36c2cf;this[_0x2a7cf8(0x112)][_0x2a7cf8(0x107)](_0x853239)[_0x2a7cf8(0x10c)]();}[_0x36c2cf(0x117)](){var _0x309a6f=_0x36c2cf;this[_0x309a6f(0x109)](),this[_0x309a6f(0x112)][_0x309a6f(0x11a)]=!0x1;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/view/basecommentthreadview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2d97(){const _0x3e24=['301926CwRDcV','focus','createCollection','editorDestroyed','destroy','delegate','shift+tab','removeComment','removeCommentThread','tab','commentThreadInputView','stop','focusTracker','isResolved','submit','first','value','COMMENT_THREAD_DESCRIPTION','1575720oxoaRo','submitCommentThread','commentInputView','bind','fire','36189pFaiGI','commentThreadHeaderView','ariaLabel','isUnlinked','1104qZcSVz','render','resolveCommentThread','881685GExHsf','focusables','_config','Reply\x20to\x20reopen\x20discussion...','Write\x20a\x20comment...','ariaDescriptionView','editorConfig','reopenCommentThread','isSubmitted','disabledSubmit','_model','submitLabel','author','assign','commentsListView','Comment','canComment','change:isActive','keystrokes','cancel','_localUser','showInput','isResolvable','updateComment','set','placeholder','634514DfNXKM','_createCommentThreadInputView','locale','element','name','isReadOnly','isActive','archivedAt','target','length','8ZiewDs','isDirty','addComment','Reply...','focusCycler','COMMENT_THREAD_LABEL','Reply','3169206vvIgop','unlinkedAt','CommentView','listenTo','comments','editorReady','hasDirtyComment','3166725VJTgRa'];_0x2d97=function(){return _0x3e24;};return _0x2d97();}const _0x323b22=_0x15f5;(function(_0x47ffb7,_0x57ea7b){const _0x1203bc=_0x15f5,_0x47a475=_0x47ffb7();while(!![]){try{const _0x533929=-parseInt(_0x1203bc(0x204))/0x1+parseInt(_0x1203bc(0x22f))/0x2+-parseInt(_0x1203bc(0x21d))/0x3*(parseInt(_0x1203bc(0x20e))/0x4)+parseInt(_0x1203bc(0x21c))/0x5+parseInt(_0x1203bc(0x215))/0x6+-parseInt(_0x1203bc(0x1ea))/0x7+-parseInt(_0x1203bc(0x238))/0x8*(parseInt(_0x1203bc(0x234))/0x9);if(_0x533929===_0x57ea7b)break;else _0x47a475['push'](_0x47a475['shift']());}catch(_0x29f92d){_0x47a475['push'](_0x47a475['shift']());}}}(_0x2d97,0x69a73));function _0x15f5(_0x5ed38d,_0x4db909){const _0x2d9777=_0x2d97();return _0x15f5=function(_0x15f5a2,_0x24de08){_0x15f5a2=_0x15f5a2-0x1e9;let _0x59551f=_0x2d9777[_0x15f5a2];return _0x59551f;},_0x15f5(_0x5ed38d,_0x4db909);}import{FocusCycler as _0x30d039,View as _0x27d1f4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a2901,KeystrokeHandler as _0x158154}from'ckeditor5/src/utils.js';import _0x43a1d1 from'./commentthreadinputview.js';import _0x3ddfd5 from'./commentslistview.js';import _0x1e8546 from'./commentthreadheaderview.js';import{getTranslation as _0x2e3d21}from'../../../utils/common-translations.js';import{AriaDescriptionView as _0x234460,setupThreadKeyboardNavigation as _0x3278b9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class is extends _0x27d1f4{constructor(_0x453d67,_0x72ee00,_0x14839f,_0x12c9fe){const _0x1af39d=_0x15f5;super(_0x453d67),this[_0x1af39d(0x202)](_0x1af39d(0x20a),!0x1),this[_0x1af39d(0x202)](_0x1af39d(0x20f),!0x1),this[_0x1af39d(0x1f4)]=_0x72ee00,this[_0x1af39d(0x1fe)]=_0x14839f,this[_0x1af39d(0x1ec)]=_0x12c9fe,this[_0x1af39d(0x235)]=new _0x1e8546(_0x453d67,_0x72ee00),this[_0x1af39d(0x235)][_0x1af39d(0x222)](_0x1af39d(0x1f1))['to'](this),this[_0x1af39d(0x1ef)]=new _0x234460(_0x453d67,_0x2e3d21(_0x453d67,_0x1af39d(0x22e))),this[_0x1af39d(0x218)](this,_0x1af39d(0x1f1),()=>{const _0x48f722=_0x1af39d;this[_0x48f722(0x21e)]();}),this[_0x1af39d(0x1f8)]=new _0x3ddfd5(_0x453d67,_0x72ee00,Object[_0x1af39d(0x1f7)]({'CommentView':this[_0x1af39d(0x1ec)][_0x1af39d(0x217)]},_0x12c9fe)),this[_0x1af39d(0x1f8)][_0x1af39d(0x222)](_0x1af39d(0x224))['to'](this),this[_0x1af39d(0x1f8)][_0x1af39d(0x222)](_0x1af39d(0x201))['to'](this),this[_0x1af39d(0x1f8)][_0x1af39d(0x222)](_0x1af39d(0x1e9))['to'](this),this[_0x1af39d(0x1f8)][_0x1af39d(0x222)](_0x1af39d(0x21a))['to'](this),this[_0x1af39d(0x1f8)][_0x1af39d(0x222)](_0x1af39d(0x220))['to'](this),this[_0x1af39d(0x1f8)][_0x1af39d(0x232)](_0x1af39d(0x20a))['to'](this),this[_0x1af39d(0x218)](this,_0x1af39d(0x1e9),()=>{const _0x4fbe23=_0x1af39d;this[_0x4fbe23(0x21e)]();}),this[_0x1af39d(0x202)](_0x1af39d(0x20d),this[_0x1af39d(0x1f8)][_0x1af39d(0x20d)]),this[_0x1af39d(0x232)](_0x1af39d(0x20d))['to'](this[_0x1af39d(0x1f8)],_0x1af39d(0x20d)),this[_0x1af39d(0x227)]=this[_0x1af39d(0x205)](),this[_0x1af39d(0x227)][_0x1af39d(0x222)](_0x1af39d(0x21a))['to'](this),this[_0x1af39d(0x227)][_0x1af39d(0x222)](_0x1af39d(0x220))['to'](this),this['on'](_0x1af39d(0x224),()=>this[_0x1af39d(0x21e)]()),this[_0x1af39d(0x232)](_0x1af39d(0x20f))['to'](this[_0x1af39d(0x1f8)],_0x1af39d(0x21b),this[_0x1af39d(0x227)][_0x1af39d(0x231)],_0x1af39d(0x22d),(_0xc1eb1d,_0x422d76)=>_0xc1eb1d||!!_0x422d76),this[_0x1af39d(0x232)](_0x1af39d(0x237))['to'](_0x72ee00,_0x1af39d(0x216),_0x399e0c=>!!_0x399e0c),this[_0x1af39d(0x232)](_0x1af39d(0x236))['to'](this,_0x1af39d(0x20d),_0x283f79=>{const _0x72b8f7=_0x1af39d,_0x447c46=this[_0x72b8f7(0x1f4)][_0x72b8f7(0x219)][_0x72b8f7(0x22c)]?this[_0x72b8f7(0x1f4)][_0x72b8f7(0x219)][_0x72b8f7(0x22c)][_0x72b8f7(0x1f6)][_0x72b8f7(0x208)]:this[_0x72b8f7(0x1fe)][_0x72b8f7(0x208)];return _0x2e3d21(this[_0x72b8f7(0x206)],_0x72b8f7(0x213),[_0x283f79,_0x447c46]);}),this[_0x1af39d(0x1eb)]=this[_0x1af39d(0x21f)]([this[_0x1af39d(0x1f8)],this[_0x1af39d(0x227)]]),this[_0x1af39d(0x229)]=new _0x4a2901(),this[_0x1af39d(0x1fc)]=new _0x158154(),this[_0x1af39d(0x212)]=new _0x30d039({'focusables':this[_0x1af39d(0x1eb)],'focusTracker':this[_0x1af39d(0x229)],'keystrokeHandler':this[_0x1af39d(0x1fc)],'keystrokeHandlerOptions':{'filter':_0x360176=>_0x360176[_0x1af39d(0x20c)]!==this[_0x1af39d(0x207)]},'actions':{'focusPrevious':_0x1af39d(0x223),'focusNext':_0x1af39d(0x226)}});}[_0x323b22(0x21e)](){const _0x35e4a7=_0x323b22;this[_0x35e4a7(0x207)][_0x35e4a7(0x21e)]();}[_0x323b22(0x239)](){const _0x1b3d03=_0x323b22;super[_0x1b3d03(0x239)](),_0x3278b9(this,this[_0x1b3d03(0x1eb)]);}async[_0x323b22(0x221)](){const _0x45cb72=_0x323b22;this[_0x45cb72(0x20f)]=!0x1,this[_0x45cb72(0x1f8)][_0x45cb72(0x221)](),await this[_0x45cb72(0x227)][_0x45cb72(0x221)](),super[_0x45cb72(0x221)]();}[_0x323b22(0x205)](){const _0x3cbaf8=_0x323b22,_0x141f0a=new _0x43a1d1(this[_0x3cbaf8(0x206)],this[_0x3cbaf8(0x1fe)],this[_0x3cbaf8(0x1ec)][_0x3cbaf8(0x1f0)]),_0x132f51=_0x141f0a[_0x3cbaf8(0x231)];return _0x141f0a[_0x3cbaf8(0x232)](_0x3cbaf8(0x1ff))['to'](this,_0x3cbaf8(0x20a),this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x209),this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x1fa),this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x20b),_0x132f51,_0x3cbaf8(0x22d),(_0x55b597,_0xc416a6,_0x13f1c,_0x36a698,_0x449a94)=>!!_0x449a94||!!_0x36a698&&_0x13f1c&&!_0xc416a6||_0x55b597&&_0x13f1c&&!_0xc416a6),_0x132f51[_0x3cbaf8(0x232)](_0x3cbaf8(0x203))['to'](this,_0x3cbaf8(0x20d),this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x200),this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x22a),(_0x1e15fb,_0xc1ec1e,_0xb9e55e)=>{const _0x49d24c=_0x3cbaf8;let _0x3fe30d;return _0x3fe30d=_0xb9e55e&&_0xc1ec1e?_0x49d24c(0x1ed):_0x1e15fb?_0x49d24c(0x211):_0x49d24c(0x1ee),_0x2e3d21(this[_0x49d24c(0x206)],_0x3fe30d);}),_0x132f51[_0x3cbaf8(0x232)](_0x3cbaf8(0x1f5))['to'](this,_0x3cbaf8(0x20d),_0x1c3840=>_0x2e3d21(this[_0x3cbaf8(0x206)],_0x1c3840?_0x3cbaf8(0x214):_0x3cbaf8(0x1f9))),_0x132f51['on'](_0x3cbaf8(0x22b),(_0x321da9,_0x372e61)=>{const _0x39a4b9=_0x3cbaf8;this[_0x39a4b9(0x233)](_0x39a4b9(0x210),_0x372e61),this[_0x39a4b9(0x1f4)][_0x39a4b9(0x22a)]&&this[_0x39a4b9(0x1f4)][_0x39a4b9(0x200)]&&this[_0x39a4b9(0x233)](_0x39a4b9(0x1f1),this[_0x39a4b9(0x1f4)]['id']),this[_0x39a4b9(0x1f4)][_0x39a4b9(0x1f2)]||this[_0x39a4b9(0x233)](_0x39a4b9(0x230));}),_0x132f51['on'](_0x3cbaf8(0x1fd),()=>{const _0x34494f=_0x3cbaf8;this[_0x34494f(0x21e)]();}),_0x132f51[_0x3cbaf8(0x232)](_0x3cbaf8(0x1f3))['to'](this[_0x3cbaf8(0x1f4)],_0x3cbaf8(0x209)),_0x132f51['on'](_0x3cbaf8(0x1fd),_0x400b56=>{const _0x13cf4e=_0x3cbaf8;0x0==this[_0x13cf4e(0x20d)]&&(this[_0x13cf4e(0x233)](_0x13cf4e(0x225)),_0x400b56[_0x13cf4e(0x228)]());}),this['on'](_0x3cbaf8(0x1fb),(_0x107226,_0x15b4ec,_0x15556f)=>{const _0x3e7ee1=_0x3cbaf8;_0x15556f||this[_0x3e7ee1(0x20d)]||_0x132f51[_0x3e7ee1(0x22d)]||this[_0x3e7ee1(0x233)](_0x3e7ee1(0x225));}),_0x141f0a;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/view/basecommentview
|