@ckeditor/ckeditor5-comments 42.0.0-alpha.0 → 42.0.0-alpha.2
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 +3 -3
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29f48b=_0x1944;(function(_0x534e61,_0x106ef8){const _0x4d807e=_0x1944,_0x355acd=_0x534e61();while(!![]){try{const _0x4c32bc=-parseInt(_0x4d807e(0x1d3))/0x1*(parseInt(_0x4d807e(0x1a7))/0x2)+-parseInt(_0x4d807e(0x1b4))/0x3+-parseInt(_0x4d807e(0x1dc))/0x4*(parseInt(_0x4d807e(0x1a6))/0x5)+parseInt(_0x4d807e(0x1e1))/0x6+parseInt(_0x4d807e(0x17a))/0x7*(-parseInt(_0x4d807e(0x1d8))/0x8)+parseInt(_0x4d807e(0x1d6))/0x9+-parseInt(_0x4d807e(0x1d7))/0xa*(-parseInt(_0x4d807e(0x17e))/0xb);if(_0x4c32bc===_0x106ef8)break;else _0x355acd['push'](_0x355acd['shift']());}catch(_0x134f88){_0x355acd['push'](_0x355acd['shift']());}}}(_0x4416,0x2be4d));import{Plugin as _0x333e8b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2129ad}from'ckeditor5/src/utils.js';import _0x1233f9 from'./commentsrepository.js';import _0x3c7123 from'./addcommentthreadcommand.js';function _0x1944(_0x284618,_0x3c8cc8){const _0x441644=_0x4416();return _0x1944=function(_0x19445e,_0x4a651f){_0x19445e=_0x19445e-0x175;let _0x42ec16=_0x441644[_0x19445e];return _0x42ec16;},_0x1944(_0x284618,_0x3c8cc8);}import{surroundingMarkersDetector as _0x5bfca0,getAllMarkersDomElementsSorted as _0x504977}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xd47f8c from'../annotations/editorannotations.js';import _0x42bc84 from'./integrations/commentsrestrictededitingmode.js';import _0x3fff0b from'./integrations/importword.js';import _0x368fab from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x59f82f from'../annotations/annotations.js';function _0x4416(){const _0x1b28dd=['state','from','_hasTargetInContent','destroy','setUnlinkedAt','then','group','plugins','hasDomSelection','getAllMarkersForId','switchReadOnly','view','consumable','_handleMarkerAddAndRemove','fetchCommentThread','isCollapsed','pluginName','render','rootName','_threadToController','addCommentThread','removeMarker','comment:','comment','markerName','requires','size','_attachMarkerToThread','change:activeMarker','getCommentThread','_initAriaMarkerChangeAnnouncements','ck-comment-marker--active','once','context','isThreadsLoadingPaused','getChangedMarkers','removeMarker:','_handleThreadMarker','getAttribute','get','setContext','editor','hasContent','reconvertMarker','1183LTHRBJ','_reconvertMarkers','substring','listenTo','10637VlDxaE','affectsData','$textProxy','activeMarker','createRange','resolveCommentThread','isAttached','announce','scrollToThreadMarker','data','ignoreResolvedComments','addComment','focus','startsWith','_attachArchivedThread','createPositionBefore','registerPostFixer','managedUsingOperations','root','getRange','end','LEAVE_COMMENT_ANNOUNCEMENT','enqueueChange','length','conversion','addMarker:','CommentsEditing','document','isObject','delete','config','elementToElement','for','$graveyard','set','low','markerToData','$marker','getCommentThreads','_getTextContext','160GBCBwx','18UIrxbr','commands','model','start','collaboration.channelId','unlinkedAt','dataToMarker','differ','getByInnerView','_detachCommentThread','registerAnnotation','getItems','updateMarker','794163pOkBJT','change','name','dataDowncast','ENTER_COMMENT_ANNOUNCEMENT','consume','upcast','hasCommentThread','_getTargetForId','reopenCommentThread','_initializeMarkerConverters','text','split','isLocal','init','editingDowncast','ck-comment-marker','removeCommentThread','push','isResolved','destroyed','change:isThreadsLoadingPaused','createElement','newRange','item','_threads','locale','markerToHighlight','ready','hasMarkerForId','openNewCommentThread','4077VAEXyn','getWalker','schema','396873NIpzeW','5310kkPcdy','10280wfzZLg','clear','refreshVisibility','change:isReadOnly','5084GmekPf','ariaLiveAnnouncer','attachTo','editing','markers','1088796GENkeG','isEqual','add'];_0x4416=function(){return _0x1b28dd;};return _0x4416();}import{getTranslation as _0x1094e7}from'../utils/common-translations.js';export default class r extends _0x333e8b{static get[_0x29f48b(0x1fd)](){return[_0x1233f9,_0xd47f8c,_0x42bc84,_0x3fff0b,_0x368fab];}static get[_0x29f48b(0x1f4)](){const _0xf3fded=_0x29f48b;return _0xf3fded(0x198);}constructor(_0x328658){const _0xaaa20e=_0x29f48b;super(_0x328658),this[_0xaaa20e(0x1a0)](_0xaaa20e(0x206),!0x0),_0x328658[_0xaaa20e(0x187)][_0xaaa20e(0x204)](_0xaaa20e(0x1d0),()=>this[_0xaaa20e(0x206)]=!0x1),this[_0xaaa20e(0x1a0)](_0xaaa20e(0x181),null),this['on'](_0xaaa20e(0x200),(_0x3aaac1,_0x162eaf,_0x5a9073,_0x3a4a8d)=>{const _0x2ac569=_0xaaa20e,_0x2260bf=_0x5a9073?it(_0x5a9073)['id']:null;if(_0x328658[_0x2ac569(0x1a9)][_0x2ac569(0x1b5)](()=>{const _0x519851=_0x2ac569;if(_0x2260bf){const _0x2f1618=this[_0x519851(0x1ed)](_0x2260bf);for(const _0x213acb of _0x2f1618)_0x328658[_0x519851(0x1df)][_0x519851(0x179)](_0x213acb);}if(_0x3a4a8d){const {id:_0x4662a2}=it(_0x3a4a8d),_0x64b257=this[_0x519851(0x1ed)](_0x4662a2);for(const _0x3ca528 of _0x64b257)_0x328658[_0x519851(0x1df)][_0x519851(0x179)](_0x3ca528);}}),_0x2260bf){const _0x2bed5e=_0x328658[_0x2ac569(0x1eb)][_0x2ac569(0x175)](_0x1233f9)[_0x2ac569(0x201)](_0x2260bf);_0x2bed5e&&_0x2bed5e[_0x2ac569(0x1c7)]&&this[_0x2ac569(0x186)](_0x2260bf);}}),this[_0xaaa20e(0x202)]();}[_0x29f48b(0x1c2)](){const _0x25277e=_0x29f48b,_0x39ae08=this[_0x25277e(0x177)],_0x22773d=_0x39ae08[_0x25277e(0x1eb)][_0x25277e(0x175)](_0x1233f9),_0x3578d7=_0x39ae08[_0x25277e(0x19c)][_0x25277e(0x175)](_0x25277e(0x1ab));_0x39ae08[_0x25277e(0x1a8)][_0x25277e(0x1e3)](_0x25277e(0x1f8),new _0x3c7123(_0x39ae08)),this[_0x25277e(0x17d)](_0x39ae08,_0x25277e(0x1db),(_0xb75f98,_0x159085,_0x30d34e)=>{const _0x2cbbb2=_0x25277e;_0x22773d[_0x2cbbb2(0x1ee)](_0x30d34e,_0x39ae08[_0x2cbbb2(0x19c)][_0x2cbbb2(0x175)](_0x2cbbb2(0x1ab)));}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1f8),_0x3578d7),(_0x304773,{threadId:_0x42c509})=>{const _0xe3aa5d=_0x25277e,_0x3f641a=this[_0xe3aa5d(0x177)][_0xe3aa5d(0x1eb)][_0xe3aa5d(0x175)](_0x1233f9)[_0xe3aa5d(0x201)](_0x42c509);_0x3f641a&&_0x3f641a[_0xe3aa5d(0x1ac)]&&this[_0xe3aa5d(0x18c)](_0x42c509);}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1c5),_0x3578d7),(_0x2c72f9,{threadId:_0x2f7672})=>{const _0x333045=_0x25277e;_0x39ae08[_0x333045(0x1a9)][_0x333045(0x194)]({'isUndoable':!0x1},_0x19253d=>{const _0x2b56a4=_0x333045,_0x2251d9=this[_0x2b56a4(0x1ed)](_0x2f7672);for(const _0x43946d of _0x2251d9)_0x19253d[_0x2b56a4(0x1f9)](_0x43946d);});}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x183),_0x3578d7),(_0x356579,{threadId:_0x4ca656})=>{const _0xa806b8=_0x25277e;(this[_0xa806b8(0x17b)](_0x4ca656),this[_0xa806b8(0x177)][_0xa806b8(0x1df)][_0xa806b8(0x1ef)][_0xa806b8(0x1ec)])&&(this[_0xa806b8(0x177)][_0xa806b8(0x1eb)][_0xa806b8(0x175)](_0x1233f9)[_0xa806b8(0x201)](_0x4ca656)[_0xa806b8(0x1ac)]||this[_0xa806b8(0x177)][_0xa806b8(0x1df)][_0xa806b8(0x1ef)][_0xa806b8(0x18a)]());},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x1bd),_0x3578d7),(_0x1fba9e,{threadId:_0x30dbd4})=>{const _0x373ed5=_0x25277e;this[_0x373ed5(0x17b)](_0x30dbd4);},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x17d)](_0x22773d,nt(_0x25277e(0x189),_0x3578d7),(_0x45933e,{threadId:_0xe04f71,isFromAdapter:_0x32f078})=>{const _0x2b321d=_0x25277e,_0x3a3e4d=this[_0x2b321d(0x1ed)](_0xe04f71);if(_0x32f078||0x0==_0x3a3e4d[_0x2b321d(0x195)]||!_0x22773d[_0x2b321d(0x1bb)](_0xe04f71))return;0x1===_0x22773d[_0x2b321d(0x201)](_0xe04f71)[_0x2b321d(0x195)]&&_0x39ae08[_0x2b321d(0x1a9)][_0x2b321d(0x194)]({'isUndoable':!0x1},_0x1880cf=>{const _0x38a665=_0x2b321d;for(const _0x218ffc of _0x3a3e4d)_0x1880cf[_0x38a665(0x1b3)](_0x218ffc,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x25277e(0x1a1)}),this[_0x25277e(0x1be)](),this[_0x25277e(0x1f1)]();}[_0x29f48b(0x1e7)](){const _0x4cbb58=_0x29f48b,_0x2063db=this[_0x4cbb58(0x177)][_0x4cbb58(0x1eb)][_0x4cbb58(0x175)](_0x1233f9),_0xe68940=this[_0x4cbb58(0x177)][_0x4cbb58(0x19c)][_0x4cbb58(0x175)](_0x4cbb58(0x1ab));for(const _0x4f6415 of _0x2063db[_0x4cbb58(0x1a4)]({'channelId':_0xe68940}))_0x2063db[_0x4cbb58(0x1b0)](_0x4f6415['id']),_0x2063db[_0x4cbb58(0x1cd)][_0x4cbb58(0x19b)](_0x4f6415['id']);super[_0x4cbb58(0x1e7)]();}[_0x29f48b(0x1d1)](_0x52ea72){const _0x1072bb=_0x29f48b;return this[_0x1072bb(0x1ed)](_0x52ea72)[_0x1072bb(0x195)]>0x0;}[_0x29f48b(0x1ed)](_0x484e48){const _0x1f0e7f=_0x29f48b,_0x50613e=[];for(const _0x16b632 of this[_0x1f0e7f(0x177)][_0x1f0e7f(0x1a9)][_0x1f0e7f(0x1e0)])_0x16b632[_0x1f0e7f(0x1b6)][_0x1f0e7f(0x18b)](_0x1f0e7f(0x1fa)+_0x484e48)&&_0x50613e[_0x1f0e7f(0x1c6)](_0x16b632);return _0x50613e;}[_0x29f48b(0x186)](_0x4a594c){const _0x1498e1=_0x29f48b,_0x2f0c1f=this[_0x1498e1(0x1bc)](_0x4a594c);_0x2f0c1f&&setTimeout(()=>{const _0x76ed53=_0x1498e1;this[_0x76ed53(0x181)]&&it(this[_0x76ed53(0x181)])['id']===_0x4a594c&&_0x2129ad({'target':_0x2f0c1f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x29f48b(0x17b)](_0x4b72ab){const _0x166874=_0x29f48b;this[_0x166874(0x177)][_0x166874(0x1a9)][_0x166874(0x1b5)](()=>{const _0x50b19d=_0x166874;for(const _0x27e4ea of this[_0x50b19d(0x1ed)](_0x4b72ab))this[_0x50b19d(0x177)][_0x50b19d(0x1df)][_0x50b19d(0x179)](_0x27e4ea);});}[_0x29f48b(0x18c)](_0x1dcb1b){const _0x3192ac=_0x29f48b,_0x352f47=this[_0x3192ac(0x177)][_0x3192ac(0x1eb)][_0x3192ac(0x175)](_0x1233f9),_0x11b91e=this[_0x3192ac(0x177)][_0x3192ac(0x1eb)][_0x3192ac(0x175)](_0xd47f8c),_0x28055d=_0x352f47[_0x3192ac(0x201)](_0x1dcb1b);if(!_0x28055d[_0x3192ac(0x184)]){const _0xf24e87=_0x28055d[_0x3192ac(0x1de)](()=>this[_0x3192ac(0x1bc)](_0x28055d['id']));_0x11b91e[_0x3192ac(0x1b1)](_0xf24e87),_0x28055d[_0x3192ac(0x1e6)]=!0x1;}}[_0x29f48b(0x1be)](){const _0x2d813c=_0x29f48b,_0x2cff6f=this[_0x2d813c(0x177)];_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1c3))[_0x2d813c(0x1cf)]({'model':_0x2d813c(0x1fb),'view':(_0x5cb84a,_0x56a751)=>{const _0x53b68f=_0x2d813c,{id:_0x14459a}=it(_0x5cb84a[_0x53b68f(0x1fc)]),_0x2940ff=_0x2cff6f[_0x53b68f(0x1eb)][_0x53b68f(0x175)](_0x1233f9)[_0x53b68f(0x201)](_0x14459a),_0x516e9d=this[_0x53b68f(0x181)]&&it(this[_0x53b68f(0x181)])['id']===_0x14459a;if(_0x2940ff&&_0x2940ff[_0x53b68f(0x1c7)]&&!_0x516e9d&&_0x5cb84a[_0x53b68f(0x1cc)])return _0x56a751[_0x53b68f(0x1f0)][_0x53b68f(0x1b9)](_0x5cb84a[_0x53b68f(0x1cc)],_0x53b68f(0x197)+_0x5cb84a[_0x53b68f(0x1fc)]),_0x56a751[_0x53b68f(0x1f0)][_0x53b68f(0x1b9)](_0x5cb84a[_0x53b68f(0x1cc)],_0x53b68f(0x208)+_0x5cb84a[_0x53b68f(0x1fc)]),null;const _0x132c1c=[_0x53b68f(0x1c4)];return _0x516e9d&&_0x132c1c[_0x53b68f(0x1c6)](_0x53b68f(0x203)),{'classes':_0x132c1c,'attributes':{'data-comment':_0x14459a}};}}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1b7))[_0x2d813c(0x1a2)]({'model':_0x2d813c(0x1fb),'view':(_0x11ff7e,{options:_0x5bbd41})=>{const _0x181ff2=_0x2d813c,_0x29bba8=_0x2cff6f[_0x181ff2(0x1eb)][_0x181ff2(0x175)](_0x1233f9),_0x8eba9a=_0x2cff6f[_0x181ff2(0x1a9)][_0x181ff2(0x1e0)][_0x181ff2(0x175)](_0x11ff7e),{id:_0x7cd3ed,part:_0x58f00d}=it(_0x11ff7e);if(_0x8eba9a&&!_0x8eba9a[_0x181ff2(0x17f)])return null;if(_0x5bbd41[_0x181ff2(0x188)]){const _0x4c1a4d=_0x29bba8[_0x181ff2(0x201)](_0x7cd3ed);if(_0x4c1a4d&&_0x4c1a4d[_0x181ff2(0x1c7)])return null;}return{'group':_0x181ff2(0x1fb),'name':_0x58f00d?_0x7cd3ed+':'+_0x58f00d:_0x7cd3ed};}}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1ba))[_0x2d813c(0x19d)]({'view':{'name':_0x2d813c(0x1fb),'attributes':{'id':/^\w/}},'model':(_0x17d4fe,{writer:_0x5d7f75})=>_0x5d7f75[_0x2d813c(0x1ca)](_0x2d813c(0x1a3),{'data-name':_0x2d813c(0x1fa)+_0x17d4fe[_0x2d813c(0x20a)]('id')})}),_0x2cff6f[_0x2d813c(0x196)][_0x2d813c(0x19e)](_0x2d813c(0x1ba))[_0x2d813c(0x1ad)]({'view':_0x2d813c(0x1fb)});}[_0x29f48b(0x1f1)](){const _0x147ca2=_0x29f48b,_0xe581e0=this[_0x147ca2(0x177)],_0x4dbe53=_0xe581e0[_0x147ca2(0x1eb)][_0x147ca2(0x175)](_0x1233f9),_0x188468=new Set(),_0x5ecf3b=new Set();_0xe581e0[_0x147ca2(0x1a9)][_0x147ca2(0x199)][_0x147ca2(0x18e)](_0x148619=>{const _0x3474da=_0x147ca2;let _0x1a1ab0=!0x1;for(const {name:_0x4db701,data:_0x9a32ae}of _0xe581e0[_0x3474da(0x1a9)][_0x3474da(0x199)][_0x3474da(0x1ae)][_0x3474da(0x207)]()){const {group:_0x210444,id:_0x1bf061}=it(_0x4db701);let _0x27516a=_0x9a32ae[_0x3474da(0x1cb)];if(_0x3474da(0x1fb)!==_0x210444||!_0x27516a)continue;const _0x42ac83=_0x3474da(0x19f)===_0x27516a[_0x3474da(0x190)][_0x3474da(0x1f6)];_0x42ac83||(_0x27516a=st(_0x27516a,_0xe581e0[_0x3474da(0x1a9)]),!_0x27516a||_0x27516a[_0x3474da(0x1f3)]||!_0x9a32ae[_0x3474da(0x1cb)]||_0x27516a[_0x3474da(0x1e2)](_0x9a32ae[_0x3474da(0x1cb)]))?_0xe581e0[_0x3474da(0x1a9)][_0x3474da(0x178)](_0x27516a)&&!_0x42ac83?this[_0x3474da(0x206)]?_0x188468[_0x3474da(0x1e3)](_0x4db701):this[_0x3474da(0x209)](_0x4db701,_0x1bf061):(_0x5ecf3b[_0x3474da(0x1e3)](_0x4db701),_0x188468[_0x3474da(0x19b)](_0x4db701),_0x148619[_0x3474da(0x1f9)](_0x4db701),_0x1a1ab0=!0x0):(_0x148619[_0x3474da(0x1b3)](_0x4db701,{'range':_0x27516a}),_0x1a1ab0=!0x0);}return _0x1a1ab0;}),this['on'](_0x147ca2(0x1c9),(_0x3feb9b,_0x5ae6bb,_0x496f3c)=>{const _0x49715c=_0x147ca2;if(!_0x496f3c&&_0x188468[_0x49715c(0x1fe)])for(const _0x498c0d of _0x188468){const {id:_0x59eb19}=it(_0x498c0d);_0x188468[_0x49715c(0x19b)](_0x498c0d),_0xe581e0[_0x49715c(0x1a9)][_0x49715c(0x1e0)][_0x49715c(0x175)](_0x498c0d)&&this[_0x49715c(0x209)](_0x498c0d,_0x59eb19);}}),this[_0x147ca2(0x17d)](_0xe581e0[_0x147ca2(0x1a9)][_0x147ca2(0x199)],_0x147ca2(0x1b5),(_0x34c1ce,_0x27bb60)=>{const _0x3e2a26=_0x147ca2;for(const {name:_0x114d16,data:{newRange:_0x13fcc4}}of _0xe581e0[_0x3e2a26(0x1a9)][_0x3e2a26(0x199)][_0x3e2a26(0x1ae)][_0x3e2a26(0x207)]()){const {group:_0x291167,id:_0x4f8114}=it(_0x114d16);if(_0x3e2a26(0x1fb)!==_0x291167)continue;const _0x2d5460=_0x4dbe53[_0x3e2a26(0x201)](_0x4f8114),_0x503c19=this[_0x3e2a26(0x1d1)](_0x4f8114);_0x2d5460&&(_0x2d5460[_0x3e2a26(0x1e6)]||_0xe581e0[_0x3e2a26(0x1df)][_0x3e2a26(0x1ef)][_0x3e2a26(0x204)](_0x3e2a26(0x1f5),()=>{const _0x59eedf=_0x3e2a26,_0x5d8d3d=_0xe581e0[_0x59eedf(0x1eb)][_0x59eedf(0x175)](_0x59f82f),_0x39571f=_0x4dbe53[_0x59eedf(0x1f7)][_0x59eedf(0x175)](_0x2d5460)[_0x59eedf(0x1ef)];_0x5d8d3d[_0x59eedf(0x1af)](_0x39571f)[_0x59eedf(0x1da)]();},{'priority':_0x3e2a26(0x1a1)}),_0x2d5460[_0x3e2a26(0x1e6)]=_0x503c19||!!_0x13fcc4),_0x13fcc4||(_0x5ecf3b[_0x3e2a26(0x1e3)](_0x114d16),_0x188468[_0x3e2a26(0x19b)](_0x114d16));}if(_0x27bb60[_0x3e2a26(0x1c1)])for(const _0x48eeb3 of _0x5ecf3b){const {id:_0x51beef}=it(_0x48eeb3),_0x200e95=_0x4dbe53[_0x3e2a26(0x201)](_0x51beef),_0x464e35=this[_0x3e2a26(0x1d1)](_0x51beef);_0x188468[_0x3e2a26(0x19b)](_0x48eeb3),!_0x200e95||_0x464e35||_0x200e95[_0x3e2a26(0x1ac)]||_0x200e95[_0x3e2a26(0x1e8)](new Date());}_0x5ecf3b[_0x3e2a26(0x1d9)]();});}[_0x29f48b(0x1bc)](_0x36b6f3){const _0x33ed5e=_0x29f48b,_0x2cb285=this[_0x33ed5e(0x177)],_0x4c773e=this[_0x33ed5e(0x1ed)](_0x36b6f3);return _0x504977(_0x2cb285[_0x33ed5e(0x1df)],_0x4c773e);}[_0x29f48b(0x1a5)](_0xfb4c1c){const _0x1f1980=_0x29f48b,_0x3f808e=this[_0x1f1980(0x1ed)](_0xfb4c1c);let _0x58298f='',_0x9bbd7c=!0x1;for(const _0x83f8b1 of _0x3f808e){const _0x8e3996=_0x83f8b1[_0x1f1980(0x191)]();for(const _0x5e1877 of Array[_0x1f1980(0x1e5)](_0x8e3996[_0x1f1980(0x1b2)]()))_0x5e1877['is'](_0x1f1980(0x180))?(_0x58298f&&_0x9bbd7c&&(_0x58298f+='\x20',_0x9bbd7c=!0x1),_0x58298f+=_0x5e1877[_0x1f1980(0x187)]):_0x9bbd7c=!0x0;_0x9bbd7c=!0x0;}return _0x58298f[_0x1f1980(0x17c)](0x0,0x96);}[_0x29f48b(0x1ff)](_0x4146bc,_0xbee796){const _0xaad172=_0x29f48b,_0x19d225=this[_0xaad172(0x177)],_0x3d524f=_0x19d225[_0xaad172(0x1eb)][_0xaad172(0x175)](_0x1233f9);let _0x1b8469=_0x3d524f[_0xaad172(0x201)](_0xbee796);const _0x490515=_0x19d225[_0xaad172(0x19c)][_0xaad172(0x175)](_0xaad172(0x1ab)),_0x3a8118=_0x19d225[_0xaad172(0x1eb)][_0xaad172(0x175)](_0xd47f8c);if(_0x1b8469&&(_0x1b8469[_0xaad172(0x1ac)]&&_0x1b8469[_0xaad172(0x1e8)](null),_0x1b8469[_0xaad172(0x184)]))return _0x1b8469;return!this[_0xaad172(0x1ed)](_0xbee796)[0x0][_0xaad172(0x18f)]?_0x19d225[_0xaad172(0x1df)][_0xaad172(0x1ef)][_0xaad172(0x204)](_0xaad172(0x1f5),()=>{const _0x4f847a=_0xaad172;if(_0x3d524f[_0x4f847a(0x201)](_0xbee796))return;const _0x1ce017=_0x19d225[_0x4f847a(0x1eb)][_0x4f847a(0x175)](_0x59f82f);_0x1b8469=_0x3d524f[_0x4f847a(0x1d2)]({'channelId':_0x490515,'threadId':_0xbee796,'target':()=>this[_0x4f847a(0x1bc)](_0xbee796),'context':{'type':_0x4f847a(0x1bf),'value':this[_0x4f847a(0x1a5)](_0xbee796)}});const _0x83e64d=_0x3d524f[_0x4f847a(0x1f7)][_0x4f847a(0x175)](_0x1b8469)[_0x4f847a(0x1ef)],_0x13567d=_0x1ce017[_0x4f847a(0x1af)](_0x83e64d);_0x13567d&&_0x3a8118[_0x4f847a(0x1b1)](_0x13567d);},{'priority':_0xaad172(0x1a1)}):_0x3d524f[_0xaad172(0x1f2)]({'channelId':_0x490515,'threadId':_0xbee796})[_0xaad172(0x1e9)](_0x41002c=>{const _0x4eb8c4=_0xaad172;if(_0x4eb8c4(0x1c8)!==_0x19d225[_0x4eb8c4(0x1e4)]){if(_0x1b8469=_0x41002c,_0x1b8469&&!_0x1b8469[_0x4eb8c4(0x184)]){const _0x1d7d60=_0x1b8469[_0x4eb8c4(0x1de)](()=>this[_0x4eb8c4(0x1bc)](_0xbee796));_0x3a8118[_0x4eb8c4(0x1b1)](_0x1d7d60),_0x1b8469[_0x4eb8c4(0x1c7)]&&this[_0x4eb8c4(0x17b)](_0xbee796);}else{if(!_0x1b8469){const _0x1367f1=this[_0x4eb8c4(0x1ed)](_0xbee796);_0x19d225[_0x4eb8c4(0x1a9)][_0x4eb8c4(0x1b5)](_0x518725=>{const _0x1e8a27=_0x4eb8c4;for(const _0x1203f4 of _0x1367f1)_0x518725[_0x1e8a27(0x1f9)](_0x1203f4);});}}}}),_0x1b8469;}[_0x29f48b(0x209)](_0x16dd86,_0x572b44){const _0x3bf18e=_0x29f48b,_0x1db673=this[_0x3bf18e(0x1ff)](_0x16dd86,_0x572b44);_0x1db673&&!_0x1db673[_0x3bf18e(0x205)]&&_0x1db673[_0x3bf18e(0x176)]({'type':_0x3bf18e(0x1bf),'value':this[_0x3bf18e(0x1a5)](_0x572b44)});}[_0x29f48b(0x202)](){const _0x6ee740=_0x29f48b,_0x5d0891=this[_0x6ee740(0x177)];_0x5bfca0(_0x5d0891[_0x6ee740(0x1a9)],({left:_0x5a6bc8,entered:_0x3ffb47})=>{const _0x355a1a=_0x6ee740;for(const _0x1121e3 of _0x5a6bc8)if(at(_0x1121e3)){_0x5d0891['ui'][_0x355a1a(0x1dd)][_0x355a1a(0x185)](_0x1094e7(_0x5d0891[_0x355a1a(0x1ce)],_0x355a1a(0x193)));break;}for(const _0x2b9837 of _0x3ffb47)if(at(_0x2b9837)){_0x5d0891['ui'][_0x355a1a(0x1dd)][_0x355a1a(0x185)](_0x1094e7(_0x5d0891[_0x355a1a(0x1ce)],_0x355a1a(0x1b8)));break;}});}}function nt(_0x2e17ae,_0x6273bf){return _0x6273bf?_0x2e17ae+':'+_0x6273bf:_0x2e17ae;}function it(_0x580a3c){const _0x54a231=_0x29f48b,_0x3a691f=_0x580a3c[_0x54a231(0x1c0)](':');return{'group':_0x3a691f[0x0],'id':_0x3a691f[0x1],'part':_0x3a691f[0x2]};}function st(_0x42abdf,_0x11b79b){const _0x23f18a=_0x29f48b,_0x19274e=_0x11b79b[_0x23f18a(0x1d5)],_0x275123=_0x11b79b[_0x23f18a(0x182)](_0x42abdf[_0x23f18a(0x1aa)]);for(const _0x559714 of _0x42abdf[_0x23f18a(0x1d4)]()){const {type:_0x32246f,item:_0x40303d,nextPosition:_0x20cf18}=_0x559714;if(_0x23f18a(0x1bf)===_0x32246f||_0x19274e[_0x23f18a(0x19a)](_0x40303d)){const _0x1da44e=_0x11b79b[_0x23f18a(0x18d)](_0x40303d);_0x275123[_0x23f18a(0x1f3)]&&(_0x275123[_0x23f18a(0x1aa)]=_0x1da44e),_0x275123[_0x23f18a(0x192)]=_0x20cf18;}}return _0x275123;}function at(_0x4bd290){const _0x2fc04e=_0x29f48b;return _0x2fc04e(0x1fb)===it(_0x4bd290[_0x2fc04e(0x1b6)])[_0x2fc04e(0x1ea)];}
|
|
23
|
+
const _0x272c25=_0x1895;function _0x2a1b(){const _0x185b01=['consumable','addMarker:','getAttribute','isObject','ck-comment-marker--active','$textProxy','928548waWxpS','dataDowncast','hasMarkerForId','name','once','upcast','reopenCommentThread','editor','consume','openNewCommentThread','removeCommentThread','42320980ofEtFn','_initializeMarkerConverters','_initAriaMarkerChangeAnnouncements','end','markerToHighlight','_reconvertMarkers','conversion','group','getByInnerView','_attachMarkerToThread','add','rootName','schema','refreshVisibility','3466347ZrhVDC','_getTargetForId','listenTo','hasContent','push','ready','state','differ','_getTextContext','registerAnnotation','_handleMarkerAddAndRemove','scrollToThreadMarker','clear','getAllMarkersForId','affectsData','_attachArchivedThread','announce','updateMarker','CommentsEditing','removeMarker:','substring','markers','set','item','render','isResolved','fetchCommentThread','comment','registerPostFixer','unlinkedAt','dataToMarker','focus','542546sRQhFw','locale','change:isReadOnly','isThreadsLoadingPaused','root','addCommentThread','$graveyard','newRange','setUnlinkedAt','get','_handleThreadMarker','config','switchReadOnly','getItems','change:isThreadsLoadingPaused','isEqual','activeMarker','removeMarker','ariaLiveAnnouncer','init','for','document','collaboration.channelId','start','reconvertMarker','size','requires','editingDowncast','_threadToController','_threads','setContext','context','then','isLocal','model','hasDomSelection','low','managedUsingOperations','attachTo','2629032StsLWS','comment:','resolveCommentThread','commands','1QhCuai','215rCCaZo','createRange','ENTER_COMMENT_ANNOUNCEMENT','createElement','from','change:activeMarker','pluginName','change','hasCommentThread','isAttached','_hasTargetInContent','destroyed','ignoreResolvedComments','data','LEAVE_COMMENT_ANNOUNCEMENT','length','startsWith','getChangedMarkers','getRange','isCollapsed','markerName','getCommentThread','split','ck-comment-marker','editing','4456072fIbAjG','addComment','getWalker','enqueueChange','82452sYuNiC','plugins','$marker','elementToElement','destroy','delete','view','markerToData','text','18TVndEV','getCommentThreads','_detachCommentThread','createPositionBefore'];_0x2a1b=function(){return _0x185b01;};return _0x2a1b();}(function(_0x28ed10,_0x5a18b0){const _0x196b2d=_0x1895,_0x255e5e=_0x28ed10();while(!![]){try{const _0x2beef1=-parseInt(_0x196b2d(0x1c7))/0x1*(-parseInt(_0x196b2d(0x231))/0x2)+-parseInt(_0x196b2d(0x211))/0x3+-parseInt(_0x196b2d(0x1e5))/0x4*(parseInt(_0x196b2d(0x1c8))/0x5)+-parseInt(_0x196b2d(0x1f8))/0x6+-parseInt(_0x196b2d(0x1c3))/0x7+parseInt(_0x196b2d(0x1e1))/0x8*(-parseInt(_0x196b2d(0x1ee))/0x9)+parseInt(_0x196b2d(0x203))/0xa;if(_0x2beef1===_0x5a18b0)break;else _0x255e5e['push'](_0x255e5e['shift']());}catch(_0xe94603){_0x255e5e['push'](_0x255e5e['shift']());}}}(_0x2a1b,0xc783b));import{Plugin as _0x49a577}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1adca7}from'ckeditor5/src/utils.js';import _0x51bfd6 from'./commentsrepository.js';import _0x36f383 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x352eae,getAllMarkersDomElementsSorted as _0x4e2888}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2d7fd7 from'../annotations/editorannotations.js';import _0x4dd5ad from'./integrations/commentsrestrictededitingmode.js';import _0x24204c from'./integrations/importword.js';import _0x5bcda9 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x1895(_0x33a1be,_0x2ed0f9){const _0x2a1b91=_0x2a1b();return _0x1895=function(_0x1895c7,_0x59fb7d){_0x1895c7=_0x1895c7-0x1a9;let _0x319bf7=_0x2a1b91[_0x1895c7];return _0x319bf7;},_0x1895(_0x33a1be,_0x2ed0f9);}import _0x29cf74 from'../annotations/annotations.js';import{getTranslation as _0x138519}from'../utils/common-translations.js';export default class r extends _0x49a577{static get[_0x272c25(0x1b6)](){return[_0x51bfd6,_0x2d7fd7,_0x4dd5ad,_0x24204c,_0x5bcda9];}static get[_0x272c25(0x1ce)](){const _0x1af8af=_0x272c25;return _0x1af8af(0x223);}constructor(_0x2ea3d3){const _0x1baf81=_0x272c25;super(_0x2ea3d3),this[_0x1baf81(0x227)](_0x1baf81(0x234),!0x0),_0x2ea3d3[_0x1baf81(0x1d5)][_0x1baf81(0x1fc)](_0x1baf81(0x216),()=>this[_0x1baf81(0x234)]=!0x1),this[_0x1baf81(0x227)](_0x1baf81(0x1ac),null),this['on'](_0x1baf81(0x1cd),(_0x1a1e07,_0x41efa0,_0x17bc2b,_0x19576d)=>{const _0x32f242=_0x1baf81,_0x14f775=_0x17bc2b?it(_0x17bc2b)['id']:null;if(_0x2ea3d3[_0x32f242(0x1be)][_0x32f242(0x1cf)](()=>{const _0x5c39c4=_0x32f242;if(_0x14f775){const _0x1cf549=this[_0x5c39c4(0x21e)](_0x14f775);for(const _0x3b5aa6 of _0x1cf549)_0x2ea3d3[_0x5c39c4(0x1e0)][_0x5c39c4(0x1b4)](_0x3b5aa6);}if(_0x19576d){const {id:_0x52cd17}=it(_0x19576d),_0x2a003a=this[_0x5c39c4(0x21e)](_0x52cd17);for(const _0x2b1723 of _0x2a003a)_0x2ea3d3[_0x5c39c4(0x1e0)][_0x5c39c4(0x1b4)](_0x2b1723);}}),_0x14f775){const _0xd99ef5=_0x2ea3d3[_0x32f242(0x1e6)][_0x32f242(0x23a)](_0x51bfd6)[_0x32f242(0x1dd)](_0x14f775);_0xd99ef5&&_0xd99ef5[_0x32f242(0x22a)]&&this[_0x32f242(0x21c)](_0x14f775);}}),this[_0x1baf81(0x205)]();}[_0x272c25(0x1af)](){const _0x898229=_0x272c25,_0x1f242a=this[_0x898229(0x1ff)],_0x314013=_0x1f242a[_0x898229(0x1e6)][_0x898229(0x23a)](_0x51bfd6),_0x461161=_0x1f242a[_0x898229(0x23c)][_0x898229(0x23a)](_0x898229(0x1b2));_0x1f242a[_0x898229(0x1c6)][_0x898229(0x20d)](_0x898229(0x236),new _0x36f383(_0x1f242a)),this[_0x898229(0x213)](_0x1f242a,_0x898229(0x233),(_0xe2e9bd,_0x210d88,_0x5ee3cb)=>{const _0x5d8738=_0x898229;_0x314013[_0x5d8738(0x23d)](_0x5ee3cb,_0x1f242a[_0x5d8738(0x23c)][_0x5d8738(0x23a)](_0x5d8738(0x1b2)));}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x236),_0x461161),(_0x3b8ab7,{threadId:_0x49483})=>{const _0x397dc7=_0x898229,_0x179ada=this[_0x397dc7(0x1ff)][_0x397dc7(0x1e6)][_0x397dc7(0x23a)](_0x51bfd6)[_0x397dc7(0x1dd)](_0x49483);_0x179ada&&_0x179ada[_0x397dc7(0x22e)]&&this[_0x397dc7(0x220)](_0x49483);}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x202),_0x461161),(_0x535d09,{threadId:_0x25b4d4})=>{const _0x1e07c6=_0x898229;_0x1f242a[_0x1e07c6(0x1be)][_0x1e07c6(0x1e4)]({'isUndoable':!0x1},_0x5de746=>{const _0x504729=_0x1e07c6,_0x2eb1bd=this[_0x504729(0x21e)](_0x25b4d4);for(const _0x2928e0 of _0x2eb1bd)_0x5de746[_0x504729(0x1ad)](_0x2928e0);});}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1c5),_0x461161),(_0x4d7102,{threadId:_0x523dad})=>{const _0x24742e=_0x898229;(this[_0x24742e(0x208)](_0x523dad),this[_0x24742e(0x1ff)][_0x24742e(0x1e0)][_0x24742e(0x1eb)][_0x24742e(0x1bf)])&&(this[_0x24742e(0x1ff)][_0x24742e(0x1e6)][_0x24742e(0x23a)](_0x51bfd6)[_0x24742e(0x1dd)](_0x523dad)[_0x24742e(0x22e)]||this[_0x24742e(0x1ff)][_0x24742e(0x1e0)][_0x24742e(0x1eb)][_0x24742e(0x230)]());},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1fe),_0x461161),(_0x1fa060,{threadId:_0x43f619})=>{const _0xb2e8e8=_0x898229;this[_0xb2e8e8(0x208)](_0x43f619);},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x213)](_0x314013,nt(_0x898229(0x1e2),_0x461161),(_0x46bf0f,{threadId:_0x4f6835,isFromAdapter:_0x2fb950})=>{const _0x43ab3c=_0x898229,_0x495f0f=this[_0x43ab3c(0x21e)](_0x4f6835);if(_0x2fb950||0x0==_0x495f0f[_0x43ab3c(0x1d7)]||!_0x314013[_0x43ab3c(0x1d0)](_0x4f6835))return;0x1===_0x314013[_0x43ab3c(0x1dd)](_0x4f6835)[_0x43ab3c(0x1d7)]&&_0x1f242a[_0x43ab3c(0x1be)][_0x43ab3c(0x1e4)]({'isUndoable':!0x1},_0x55ea28=>{const _0x2b2375=_0x43ab3c;for(const _0x5c3236 of _0x495f0f)_0x55ea28[_0x2b2375(0x222)](_0x5c3236,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x898229(0x1c0)}),this[_0x898229(0x204)](),this[_0x898229(0x21b)]();}[_0x272c25(0x1e9)](){const _0x1dcedb=_0x272c25,_0x2dd965=this[_0x1dcedb(0x1ff)][_0x1dcedb(0x1e6)][_0x1dcedb(0x23a)](_0x51bfd6),_0x33b9d6=this[_0x1dcedb(0x1ff)][_0x1dcedb(0x23c)][_0x1dcedb(0x23a)](_0x1dcedb(0x1b2));for(const _0x25bc92 of _0x2dd965[_0x1dcedb(0x1ef)]({'channelId':_0x33b9d6}))_0x2dd965[_0x1dcedb(0x1f0)](_0x25bc92['id']),_0x2dd965[_0x1dcedb(0x1b9)][_0x1dcedb(0x1ea)](_0x25bc92['id']);super[_0x1dcedb(0x1e9)]();}[_0x272c25(0x1fa)](_0x3bebab){const _0xad6fce=_0x272c25;return this[_0xad6fce(0x21e)](_0x3bebab)[_0xad6fce(0x1d7)]>0x0;}[_0x272c25(0x21e)](_0x5d0ef6){const _0x4b08a0=_0x272c25,_0x4e16a3=[];for(const _0x281c4e of this[_0x4b08a0(0x1ff)][_0x4b08a0(0x1be)][_0x4b08a0(0x226)])_0x281c4e[_0x4b08a0(0x1fb)][_0x4b08a0(0x1d8)](_0x4b08a0(0x1c4)+_0x5d0ef6)&&_0x4e16a3[_0x4b08a0(0x215)](_0x281c4e);return _0x4e16a3;}[_0x272c25(0x21c)](_0x5a2907){const _0x1bbb8f=_0x272c25,_0x4a8efb=this[_0x1bbb8f(0x212)](_0x5a2907);_0x4a8efb&&setTimeout(()=>{const _0x3c1fa2=_0x1bbb8f;this[_0x3c1fa2(0x1ac)]&&it(this[_0x3c1fa2(0x1ac)])['id']===_0x5a2907&&_0x1adca7({'target':_0x4a8efb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x272c25(0x208)](_0x138bd1){const _0x1774d1=_0x272c25;this[_0x1774d1(0x1ff)][_0x1774d1(0x1be)][_0x1774d1(0x1cf)](()=>{const _0x9b16ca=_0x1774d1;for(const _0x17b59b of this[_0x9b16ca(0x21e)](_0x138bd1))this[_0x9b16ca(0x1ff)][_0x9b16ca(0x1e0)][_0x9b16ca(0x1b4)](_0x17b59b);});}[_0x272c25(0x220)](_0x6a7639){const _0xf44e94=_0x272c25,_0x4be6a0=this[_0xf44e94(0x1ff)][_0xf44e94(0x1e6)][_0xf44e94(0x23a)](_0x51bfd6),_0x466c50=this[_0xf44e94(0x1ff)][_0xf44e94(0x1e6)][_0xf44e94(0x23a)](_0x2d7fd7),_0x80aa77=_0x4be6a0[_0xf44e94(0x1dd)](_0x6a7639);if(!_0x80aa77[_0xf44e94(0x1d1)]){const _0x67d105=_0x80aa77[_0xf44e94(0x1c2)](()=>this[_0xf44e94(0x212)](_0x80aa77['id']));_0x466c50[_0xf44e94(0x21a)](_0x67d105),_0x80aa77[_0xf44e94(0x1d2)]=!0x1;}}[_0x272c25(0x204)](){const _0x43f8e8=_0x272c25,_0x420fae=this[_0x43f8e8(0x1ff)];_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1b7))[_0x43f8e8(0x207)]({'model':_0x43f8e8(0x22c),'view':(_0x583757,_0x560bee)=>{const _0x2648f9=_0x43f8e8,{id:_0xba42f5}=it(_0x583757[_0x2648f9(0x1dc)]),_0x5ab34a=_0x420fae[_0x2648f9(0x1e6)][_0x2648f9(0x23a)](_0x51bfd6)[_0x2648f9(0x1dd)](_0xba42f5),_0x8ce884=this[_0x2648f9(0x1ac)]&&it(this[_0x2648f9(0x1ac)])['id']===_0xba42f5;if(_0x5ab34a&&_0x5ab34a[_0x2648f9(0x22a)]&&!_0x8ce884&&_0x583757[_0x2648f9(0x228)])return _0x560bee[_0x2648f9(0x1f2)][_0x2648f9(0x200)](_0x583757[_0x2648f9(0x228)],_0x2648f9(0x1f3)+_0x583757[_0x2648f9(0x1dc)]),_0x560bee[_0x2648f9(0x1f2)][_0x2648f9(0x200)](_0x583757[_0x2648f9(0x228)],_0x2648f9(0x224)+_0x583757[_0x2648f9(0x1dc)]),null;const _0x2720a5=[_0x2648f9(0x1df)];return _0x8ce884&&_0x2720a5[_0x2648f9(0x215)](_0x2648f9(0x1f6)),{'classes':_0x2720a5,'attributes':{'data-comment':_0xba42f5}};}}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1f9))[_0x43f8e8(0x1ec)]({'model':_0x43f8e8(0x22c),'view':(_0x327123,{options:_0x32e0f9})=>{const _0x3dec23=_0x43f8e8,_0x2a0099=_0x420fae[_0x3dec23(0x1e6)][_0x3dec23(0x23a)](_0x51bfd6),_0x2e2fb9=_0x420fae[_0x3dec23(0x1be)][_0x3dec23(0x226)][_0x3dec23(0x23a)](_0x327123),{id:_0x5c8a82,part:_0x1feb73}=it(_0x327123);if(_0x2e2fb9&&!_0x2e2fb9[_0x3dec23(0x21f)])return null;if(_0x32e0f9[_0x3dec23(0x1d4)]){const _0x293f93=_0x2a0099[_0x3dec23(0x1dd)](_0x5c8a82);if(_0x293f93&&_0x293f93[_0x3dec23(0x22a)])return null;}return{'group':_0x3dec23(0x22c),'name':_0x1feb73?_0x5c8a82+':'+_0x1feb73:_0x5c8a82};}}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1fd))[_0x43f8e8(0x1e8)]({'view':{'name':_0x43f8e8(0x22c),'attributes':{'id':/^\w/}},'model':(_0x500f64,{writer:_0x23e04a})=>_0x23e04a[_0x43f8e8(0x1cb)](_0x43f8e8(0x1e7),{'data-name':_0x43f8e8(0x1c4)+_0x500f64[_0x43f8e8(0x1f4)]('id')})}),_0x420fae[_0x43f8e8(0x209)][_0x43f8e8(0x1b0)](_0x43f8e8(0x1fd))[_0x43f8e8(0x22f)]({'view':_0x43f8e8(0x22c)});}[_0x272c25(0x21b)](){const _0x28feb8=_0x272c25,_0x3dadb1=this[_0x28feb8(0x1ff)],_0x23143d=_0x3dadb1[_0x28feb8(0x1e6)][_0x28feb8(0x23a)](_0x51bfd6),_0xfd4c32=new Set(),_0x161901=new Set();_0x3dadb1[_0x28feb8(0x1be)][_0x28feb8(0x1b1)][_0x28feb8(0x22d)](_0x163b65=>{const _0xffa53a=_0x28feb8;let _0x513230=!0x1;for(const {name:_0x3ee7e4,data:_0x546a68}of _0x3dadb1[_0xffa53a(0x1be)][_0xffa53a(0x1b1)][_0xffa53a(0x218)][_0xffa53a(0x1d9)]()){const {group:_0x1f7ede,id:_0x49b524}=it(_0x3ee7e4);let _0x23cdac=_0x546a68[_0xffa53a(0x238)];if(_0xffa53a(0x22c)!==_0x1f7ede||!_0x23cdac)continue;const _0x39612b=_0xffa53a(0x237)===_0x23cdac[_0xffa53a(0x235)][_0xffa53a(0x20e)];_0x39612b||(_0x23cdac=st(_0x23cdac,_0x3dadb1[_0xffa53a(0x1be)]),!_0x23cdac||_0x23cdac[_0xffa53a(0x1db)]||!_0x546a68[_0xffa53a(0x238)]||_0x23cdac[_0xffa53a(0x1ab)](_0x546a68[_0xffa53a(0x238)]))?_0x3dadb1[_0xffa53a(0x1be)][_0xffa53a(0x214)](_0x23cdac)&&!_0x39612b?this[_0xffa53a(0x234)]?_0xfd4c32[_0xffa53a(0x20d)](_0x3ee7e4):this[_0xffa53a(0x23b)](_0x3ee7e4,_0x49b524):(_0x161901[_0xffa53a(0x20d)](_0x3ee7e4),_0xfd4c32[_0xffa53a(0x1ea)](_0x3ee7e4),_0x163b65[_0xffa53a(0x1ad)](_0x3ee7e4),_0x513230=!0x0):(_0x163b65[_0xffa53a(0x222)](_0x3ee7e4,{'range':_0x23cdac}),_0x513230=!0x0);}return _0x513230;}),this['on'](_0x28feb8(0x1aa),(_0x1d9bef,_0x3aaa6c,_0x39a9d0)=>{const _0x2d5d90=_0x28feb8;if(!_0x39a9d0&&_0xfd4c32[_0x2d5d90(0x1b5)])for(const _0x272f30 of _0xfd4c32){const {id:_0x57a12e}=it(_0x272f30);_0xfd4c32[_0x2d5d90(0x1ea)](_0x272f30),_0x3dadb1[_0x2d5d90(0x1be)][_0x2d5d90(0x226)][_0x2d5d90(0x23a)](_0x272f30)&&this[_0x2d5d90(0x23b)](_0x272f30,_0x57a12e);}}),this[_0x28feb8(0x213)](_0x3dadb1[_0x28feb8(0x1be)][_0x28feb8(0x1b1)],_0x28feb8(0x1cf),(_0xbb6817,_0x24d6ef)=>{const _0x3b552a=_0x28feb8;for(const {name:_0x3515b1,data:{newRange:_0x24feec}}of _0x3dadb1[_0x3b552a(0x1be)][_0x3b552a(0x1b1)][_0x3b552a(0x218)][_0x3b552a(0x1d9)]()){const {group:_0x1e6d64,id:_0x439b85}=it(_0x3515b1);if(_0x3b552a(0x22c)!==_0x1e6d64)continue;const _0x1c2d11=_0x23143d[_0x3b552a(0x1dd)](_0x439b85),_0x59c720=this[_0x3b552a(0x1fa)](_0x439b85);_0x1c2d11&&(_0x1c2d11[_0x3b552a(0x1d2)]||_0x3dadb1[_0x3b552a(0x1e0)][_0x3b552a(0x1eb)][_0x3b552a(0x1fc)](_0x3b552a(0x229),()=>{const _0x4fab51=_0x3b552a,_0x422a69=_0x3dadb1[_0x4fab51(0x1e6)][_0x4fab51(0x23a)](_0x29cf74),_0x4d6c1a=_0x23143d[_0x4fab51(0x1b8)][_0x4fab51(0x23a)](_0x1c2d11)[_0x4fab51(0x1eb)];_0x422a69[_0x4fab51(0x20b)](_0x4d6c1a)[_0x4fab51(0x210)]();},{'priority':_0x3b552a(0x1c0)}),_0x1c2d11[_0x3b552a(0x1d2)]=_0x59c720||!!_0x24feec),_0x24feec||(_0x161901[_0x3b552a(0x20d)](_0x3515b1),_0xfd4c32[_0x3b552a(0x1ea)](_0x3515b1));}if(_0x24d6ef[_0x3b552a(0x1bd)])for(const _0x23e3f of _0x161901){const {id:_0xcdd0e1}=it(_0x23e3f),_0x10717f=_0x23143d[_0x3b552a(0x1dd)](_0xcdd0e1),_0x24d35f=this[_0x3b552a(0x1fa)](_0xcdd0e1);_0xfd4c32[_0x3b552a(0x1ea)](_0x23e3f),!_0x10717f||_0x24d35f||_0x10717f[_0x3b552a(0x22e)]||_0x10717f[_0x3b552a(0x239)](new Date());}_0x161901[_0x3b552a(0x21d)]();});}[_0x272c25(0x212)](_0x4595fc){const _0x5e5a3b=_0x272c25,_0x482c3e=this[_0x5e5a3b(0x1ff)],_0x27d7ef=this[_0x5e5a3b(0x21e)](_0x4595fc);return _0x4e2888(_0x482c3e[_0x5e5a3b(0x1e0)],_0x27d7ef);}[_0x272c25(0x219)](_0x5ea076){const _0x362638=_0x272c25,_0x22ecfe=this[_0x362638(0x21e)](_0x5ea076);let _0x5ea27f='',_0xcc94b7=!0x1;for(const _0x2ebb8f of _0x22ecfe){const _0x5ca89b=_0x2ebb8f[_0x362638(0x1da)]();for(const _0xf9dedb of Array[_0x362638(0x1cc)](_0x5ca89b[_0x362638(0x1a9)]()))_0xf9dedb['is'](_0x362638(0x1f7))?(_0x5ea27f&&_0xcc94b7&&(_0x5ea27f+='\x20',_0xcc94b7=!0x1),_0x5ea27f+=_0xf9dedb[_0x362638(0x1d5)]):_0xcc94b7=!0x0;_0xcc94b7=!0x0;}return _0x5ea27f[_0x362638(0x225)](0x0,0x96);}[_0x272c25(0x20c)](_0x5f2309,_0x2928a2){const _0x32e65a=_0x272c25,_0x3b84dd=this[_0x32e65a(0x1ff)],_0x1413a2=_0x3b84dd[_0x32e65a(0x1e6)][_0x32e65a(0x23a)](_0x51bfd6);let _0x3bcdc0=_0x1413a2[_0x32e65a(0x1dd)](_0x2928a2);const _0x5da033=_0x3b84dd[_0x32e65a(0x23c)][_0x32e65a(0x23a)](_0x32e65a(0x1b2)),_0x5a5ae3=_0x3b84dd[_0x32e65a(0x1e6)][_0x32e65a(0x23a)](_0x2d7fd7);if(_0x3bcdc0&&(_0x3bcdc0[_0x32e65a(0x22e)]&&_0x3bcdc0[_0x32e65a(0x239)](null),_0x3bcdc0[_0x32e65a(0x1d1)]))return _0x3bcdc0;return!this[_0x32e65a(0x21e)](_0x2928a2)[0x0][_0x32e65a(0x1c1)]?_0x3b84dd[_0x32e65a(0x1e0)][_0x32e65a(0x1eb)][_0x32e65a(0x1fc)](_0x32e65a(0x229),()=>{const _0x252642=_0x32e65a;if(_0x1413a2[_0x252642(0x1dd)](_0x2928a2))return;const _0x296d97=_0x3b84dd[_0x252642(0x1e6)][_0x252642(0x23a)](_0x29cf74);_0x3bcdc0=_0x1413a2[_0x252642(0x201)]({'channelId':_0x5da033,'threadId':_0x2928a2,'target':()=>this[_0x252642(0x212)](_0x2928a2),'context':{'type':_0x252642(0x1ed),'value':this[_0x252642(0x219)](_0x2928a2)}});const _0x4da562=_0x1413a2[_0x252642(0x1b8)][_0x252642(0x23a)](_0x3bcdc0)[_0x252642(0x1eb)],_0x243960=_0x296d97[_0x252642(0x20b)](_0x4da562);_0x243960&&_0x5a5ae3[_0x252642(0x21a)](_0x243960);},{'priority':_0x32e65a(0x1c0)}):_0x1413a2[_0x32e65a(0x22b)]({'channelId':_0x5da033,'threadId':_0x2928a2})[_0x32e65a(0x1bc)](_0x5ea6ba=>{const _0x456edb=_0x32e65a;if(_0x456edb(0x1d3)!==_0x3b84dd[_0x456edb(0x217)]){if(_0x3bcdc0=_0x5ea6ba,_0x3bcdc0&&!_0x3bcdc0[_0x456edb(0x1d1)]){const _0x5a1cbf=_0x3bcdc0[_0x456edb(0x1c2)](()=>this[_0x456edb(0x212)](_0x2928a2));_0x5a5ae3[_0x456edb(0x21a)](_0x5a1cbf),_0x3bcdc0[_0x456edb(0x22a)]&&this[_0x456edb(0x208)](_0x2928a2);}else{if(!_0x3bcdc0){const _0x4499f5=this[_0x456edb(0x21e)](_0x2928a2);_0x3b84dd[_0x456edb(0x1be)][_0x456edb(0x1cf)](_0x3e46fe=>{const _0x145b9d=_0x456edb;for(const _0x794618 of _0x4499f5)_0x3e46fe[_0x145b9d(0x1ad)](_0x794618);});}}}}),_0x3bcdc0;}[_0x272c25(0x23b)](_0x22354d,_0x2d12a2){const _0x2dbfe4=_0x272c25,_0x2e3f01=this[_0x2dbfe4(0x20c)](_0x22354d,_0x2d12a2);_0x2e3f01&&!_0x2e3f01[_0x2dbfe4(0x1bb)]&&_0x2e3f01[_0x2dbfe4(0x1ba)]({'type':_0x2dbfe4(0x1ed),'value':this[_0x2dbfe4(0x219)](_0x2d12a2)});}[_0x272c25(0x205)](){const _0x27b1f2=_0x272c25,_0x6cd501=this[_0x27b1f2(0x1ff)];_0x352eae(_0x6cd501[_0x27b1f2(0x1be)],({left:_0x495955,entered:_0x5a357f})=>{const _0x10b552=_0x27b1f2;for(const _0x592a33 of _0x495955)if(at(_0x592a33)){_0x6cd501['ui'][_0x10b552(0x1ae)][_0x10b552(0x221)](_0x138519(_0x6cd501[_0x10b552(0x232)],_0x10b552(0x1d6)));break;}for(const _0x3e95dc of _0x5a357f)if(at(_0x3e95dc)){_0x6cd501['ui'][_0x10b552(0x1ae)][_0x10b552(0x221)](_0x138519(_0x6cd501[_0x10b552(0x232)],_0x10b552(0x1ca)));break;}});}}function nt(_0x230ebf,_0x47482b){return _0x47482b?_0x230ebf+':'+_0x47482b:_0x230ebf;}function it(_0x10b2af){const _0x5ecafe=_0x272c25,_0x3bbb35=_0x10b2af[_0x5ecafe(0x1de)](':');return{'group':_0x3bbb35[0x0],'id':_0x3bbb35[0x1],'part':_0x3bbb35[0x2]};}function st(_0x4963cf,_0x59823f){const _0x58f79d=_0x272c25,_0x4393e2=_0x59823f[_0x58f79d(0x20f)],_0x4c4faa=_0x59823f[_0x58f79d(0x1c9)](_0x4963cf[_0x58f79d(0x1b3)]);for(const _0x24125c of _0x4963cf[_0x58f79d(0x1e3)]()){const {type:_0x5c34be,item:_0x3a2233,nextPosition:_0x3f07e4}=_0x24125c;if(_0x58f79d(0x1ed)===_0x5c34be||_0x4393e2[_0x58f79d(0x1f5)](_0x3a2233)){const _0x34505b=_0x59823f[_0x58f79d(0x1f1)](_0x3a2233);_0x4c4faa[_0x58f79d(0x1db)]&&(_0x4c4faa[_0x58f79d(0x1b3)]=_0x34505b),_0x4c4faa[_0x58f79d(0x206)]=_0x3f07e4;}}return _0x4c4faa;}function at(_0x1131b0){const _0x70691a=_0x272c25;return _0x70691a(0x22c)===it(_0x1131b0[_0x70691a(0x1fb)])[_0x70691a(0x20a)];}
|