@ckeditor/ckeditor5-track-changes 41.1.0 → 41.2.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/track-changes.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c1053=_0x2ad2;(function(_0x15c69e,_0x5ca27b){const _0x2eac91=_0x2ad2,_0x34ddf1=_0x15c69e();while(!![]){try{const _0x25c03d=parseInt(_0x2eac91(0xac))/0x1*(-parseInt(_0x2eac91(0xe0))/0x2)+-parseInt(_0x2eac91(0xee))/0x3+-parseInt(_0x2eac91(0xb8))/0x4*(parseInt(_0x2eac91(0xe5))/0x5)+parseInt(_0x2eac91(0xcf))/0x6+-parseInt(_0x2eac91(0xef))/0x7*(-parseInt(_0x2eac91(0xb9))/0x8)+-parseInt(_0x2eac91(0xb7))/0x9*(-parseInt(_0x2eac91(0xaa))/0xa)+-parseInt(_0x2eac91(0xa8))/0xb;if(_0x25c03d===_0x5ca27b)break;else _0x34ddf1['push'](_0x34ddf1['shift']());}catch(_0x1736d2){_0x34ddf1['push'](_0x34ddf1['shift']());}}}(_0x1763,0xc6952));function _0x1763(){const _0x11c4dd=['1854822bnPfnG','_descriptionFactory','start','tableCellVerticalAlignment','tableWidth','format','getSuggestions','TrackChangesEditing','TablePropertiesEditing','enableCommand','editor','discard','enqueueChange','TableCellPropertiesEditing','TableUtils','tableCellHorizontalAlignment','tableCellBackgroundColor','30QWTPaM','getSuggestionCallback','tableAlignment','_handlePropertyChange','tableBorderWidth','505FPtlzE','get','batch','_getSuggestion','tableCellPadding','tableCellBorderColor','markBlockFormat','getSelectionAffectedTableCells','model','1249125gocpgw','49golLBg','change','join','registerDescriptionCallback','tableCellBorderStyle','has','accept','subType','254760aSMyfz','*Format:*\x20change\x20table\x20properties','78230ROcXoF','table','77093yTPVjV','tableCellProperties','TrackChangesTableProperties','tableProperties','getAttribute','handleSuggestionDescription','tableBorderColor','nodeAfter','plugins','getContainedElement','*Format:*\x20change\x20table\x20cell\x20properties','1818qISVTS','28212rKfceH','1408336lixuXw','formatBlock','findAncestor','getFirstPosition','data','tableCellBorderWidth','tableBorderStyle','tableCellWidth','commandParams','locale','tableCellHeight','document','_suggestionFactory','registerCustomCallback','tableBackgroundColor','setAttribute','selection','handleDiscardAction','removeAttribute','pluginName','tableHeight','afterInit'];_0x1763=function(){return _0x11c4dd;};return _0x1763();}function _0x2ad2(_0x51a2a0,_0x571283){const _0x1763cf=_0x1763();return _0x2ad2=function(_0x2ad2cc,_0x393c67){_0x2ad2cc=_0x2ad2cc-0xa1;let _0xb79392=_0x1763cf[_0x2ad2cc];return _0xb79392;},_0x2ad2(_0x51a2a0,_0x571283);}import{Plugin as _0x1b4252}from'ckeditor5/src/core.js';import{getTranslation as _0x4b2f41}from'../utils/common-translations.js';export default class Mt extends _0x1b4252{constructor(_0x2b88d3){const _0x335a1e=_0x2ad2;super(_0x2b88d3),this[_0x335a1e(0xaf)]=[_0x335a1e(0xb2),_0x335a1e(0xbf),_0x335a1e(0xe4),_0x335a1e(0xe2),_0x335a1e(0xd3),_0x335a1e(0xcd),_0x335a1e(0xc7)],this[_0x335a1e(0xad)]=[_0x335a1e(0xea),_0x335a1e(0xa4),_0x335a1e(0xbe),_0x335a1e(0xe9),_0x335a1e(0xc0),_0x335a1e(0xc3),_0x335a1e(0xdf),_0x335a1e(0xde),_0x335a1e(0xd2)];}static get[_0x4c1053(0xcc)](){const _0x3c3ad8=_0x4c1053;return _0x3c3ad8(0xae);}[_0x4c1053(0xce)](){const _0x56b05c=_0x4c1053,_0x2433f6=this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xe6)](_0x56b05c(0xd6));if(this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xa5)](_0x56b05c(0xd7))){for(const _0x398444 of this[_0x56b05c(0xaf)])_0x2433f6[_0x56b05c(0xd8)](_0x398444,(_0x5f44e1,_0x48b75e)=>{const _0x5c6bac=_0x56b05c,_0x3f9169=this[_0x5c6bac(0xd9)][_0x5c6bac(0xed)][_0x5c6bac(0xc4)][_0x5c6bac(0xc9)][_0x5c6bac(0xbc)]()[_0x5c6bac(0xbb)](_0x5c6bac(0xab));this[_0x5c6bac(0xe3)](_0x398444,[_0x3f9169],this[_0x5c6bac(0xaf)],_0x5c6bac(0xaf),_0x5f44e1,_0x48b75e);});_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xa6),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xe1)](_0x56b05c(0xba),null,_0x56b05c(0xda))),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xda),(_0x50c258,_0x43ce7a)=>this[_0x56b05c(0xca)](this[_0x56b05c(0xaf)],_0x50c258,_0x43ce7a)),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xa2),()=>!0x1);}if(this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xa5)](_0x56b05c(0xdc))){for(const _0x228e65 of this[_0x56b05c(0xad)])_0x2433f6[_0x56b05c(0xd8)](_0x228e65,(_0x2845cb,_0x6817eb)=>{const _0x185c52=_0x56b05c,_0x376093=this[_0x185c52(0xd9)][_0x185c52(0xb4)][_0x185c52(0xe6)](_0x185c52(0xdd))[_0x185c52(0xec)](this[_0x185c52(0xd9)][_0x185c52(0xed)][_0x185c52(0xc4)][_0x185c52(0xc9)]);this[_0x185c52(0xe3)](_0x228e65,_0x376093,this[_0x185c52(0xad)],_0x185c52(0xad),_0x2845cb,_0x6817eb);});_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xa6),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xe1)](_0x56b05c(0xba),null,_0x56b05c(0xda))),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xda),(_0x3522cd,_0x2672e3)=>this[_0x56b05c(0xca)](this[_0x56b05c(0xad)],_0x3522cd,_0x2672e3)),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xa2),()=>!0x1);}_0x2433f6[_0x56b05c(0xd0)][_0x56b05c(0xa3)](_0x1d07f7=>this[_0x56b05c(0xb1)](_0x1d07f7));}[_0x4c1053(0xe3)](_0x3984e4,_0x2842a3,_0x284797,_0x562ddc,_0x6b1afd,_0x1243d2){const _0x56d06a=_0x4c1053,_0x1f456d=this[_0x56d06a(0xd9)][_0x56d06a(0xb4)][_0x56d06a(0xe6)](_0x56d06a(0xd6));this[_0x56d06a(0xd9)][_0x56d06a(0xed)][_0x56d06a(0xdb)](_0x1243d2[_0x56d06a(0xe7)],()=>{const _0x480ce9=_0x56d06a;for(const _0x4d75b0 of _0x2842a3){if(this[_0x480ce9(0xe8)](_0x4d75b0,_0x562ddc))_0x6b1afd(_0x1243d2);else{const _0x325296={};for(const _0x1e2e9d of _0x284797){const _0x4ca6a8=_0x4d75b0[_0x480ce9(0xb0)](_0x1e2e9d);void 0x0!==_0x4ca6a8&&(_0x325296[_0x1e2e9d]=_0x4ca6a8);}_0x6b1afd(_0x1243d2),_0x1f456d[_0x480ce9(0xeb)](_0x4d75b0,{'commandParams':[_0x325296]},[],_0x562ddc);}}});}[_0x4c1053(0xca)](_0x2d83dc,_0x37970f,_0x3b0e75){const _0xc823e6=_0x4c1053,_0x6f35a=_0x37970f[0x0][_0xc823e6(0xd1)][_0xc823e6(0xb3)],_0x9e43ee=_0x3b0e75[_0xc823e6(0xc1)][0x0];this[_0xc823e6(0xd9)][_0xc823e6(0xed)][_0xc823e6(0xa1)](_0x50a3b2=>{const _0x4f8cfe=_0xc823e6;for(const _0xca3f22 of _0x2d83dc)void 0x0!==_0x9e43ee[_0xca3f22]?_0x50a3b2[_0x4f8cfe(0xc8)](_0xca3f22,_0x9e43ee[_0xca3f22],_0x6f35a):_0x50a3b2[_0x4f8cfe(0xcb)](_0xca3f22,_0x6f35a);});}[_0x4c1053(0xb1)](_0x2497ed){const _0x349c1f=_0x4c1053;if(_0x2497ed[_0x349c1f(0xbd)])switch(_0x2497ed[_0x349c1f(0xa7)]){case _0x349c1f(0xaf):return{'type':_0x349c1f(0xd4),'content':_0x4b2f41(this[_0x349c1f(0xd9)][_0x349c1f(0xc2)],_0x349c1f(0xa9))};case _0x349c1f(0xad):return{'type':_0x349c1f(0xd4),'content':_0x4b2f41(this[_0x349c1f(0xd9)][_0x349c1f(0xc2)],_0x349c1f(0xb6))};}}[_0x4c1053(0xe8)](_0x164bdd,_0x51cb41){const _0x168519=_0x4c1053,_0x445d5f=this[_0x168519(0xd9)][_0x168519(0xb4)][_0x168519(0xe6)](_0x168519(0xd6));for(const _0x5612a0 of _0x445d5f[_0x168519(0xd5)]({'skipNotAttached':!0x0})){const _0xfdb9ab=_0x5612a0[_0x168519(0xb5)]();if(_0x5612a0[_0x168519(0xa7)]===_0x51cb41&&_0xfdb9ab===_0x164bdd)return _0x5612a0;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1027f3=_0x5ce4;(function(_0x59bf7a,_0x4b23d1){const _0x31f7a0=_0x5ce4,_0x72834f=_0x59bf7a();while(!![]){try{const _0x17d1c7=parseInt(_0x31f7a0(0x17a))/0x1+parseInt(_0x31f7a0(0x180))/0x2*(parseInt(_0x31f7a0(0x185))/0x3)+-parseInt(_0x31f7a0(0x17b))/0x4+parseInt(_0x31f7a0(0x181))/0x5+parseInt(_0x31f7a0(0x18a))/0x6+parseInt(_0x31f7a0(0x182))/0x7+-parseInt(_0x31f7a0(0x17e))/0x8;if(_0x17d1c7===_0x4b23d1)break;else _0x72834f['push'](_0x72834f['shift']());}catch(_0x491faa){_0x72834f['push'](_0x72834f['shift']());}}}(_0x40f7,0x63766));function _0x40f7(){const _0x5b7ada=['2401308xBNrxT','has','enableCommand','9373544XqiduM','insertTemplate','2IgbrDm','357815GESJwm','1262730vbMpMF','editor','afterInit','1824231Kjvguz','plugins','TrackChangesEditing','get','Template','3518664cTeaHj','732944hPCCIh'];_0x40f7=function(){return _0x5b7ada;};return _0x40f7();}function _0x5ce4(_0x2f7a28,_0x570058){const _0x40f75e=_0x40f7();return _0x5ce4=function(_0x5ce4ac,_0x46f267){_0x5ce4ac=_0x5ce4ac-0x17a;let _0x116505=_0x40f75e[_0x5ce4ac];return _0x116505;},_0x5ce4(_0x2f7a28,_0x570058);}import{Plugin as _0x45f063}from'ckeditor5/src/core.js';export default class vt extends _0x45f063{[_0x1027f3(0x184)](){const _0x29b3ef=_0x1027f3,_0xfb60be=this[_0x29b3ef(0x183)];_0xfb60be[_0x29b3ef(0x186)][_0x29b3ef(0x17c)](_0x29b3ef(0x189))&&_0xfb60be[_0x29b3ef(0x186)][_0x29b3ef(0x188)](_0x29b3ef(0x187))[_0x29b3ef(0x17d)](_0x29b3ef(0x17f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x41a6(){const _0x5bd367=['newRange','isCollapsed','updateMarker','title-content','9208JjpWRv','46xqYGsv','getNearestSelectionRange','45czvDlp','37405VFJinT','1963302IfEbeT','isEqual','registerPostFixer','plugins','removeMarker','editor','forward','1758735XMUAIT','createRange','has','from','92388hAGRgA','_descriptionFactory','19021BmKPbX','model','end','getChangedMarkers','ELEMENT_TITLE','Title','TrackChangesEditing','start','afterInit','get','198OcaqMa','document','isTouching','suggestion','locale','_splitMarkerName','element','registerElementLabel','315zjrScj','1129050sGRqCX','schema','nodeBefore','differ'];_0x41a6=function(){return _0x5bd367;};return _0x41a6();}function _0x5d3c(_0xfa3e02,_0x243c1f){const _0x41a6d6=_0x41a6();return _0x5d3c=function(_0x5d3c00,_0xe00ab4){_0x5d3c00=_0x5d3c00-0x13e;let _0xbf09c6=_0x41a6d6[_0x5d3c00];return _0xbf09c6;},_0x5d3c(_0xfa3e02,_0x243c1f);}const _0x4820f8=_0x5d3c;(function(_0x373a39,_0x26ca18){const _0x4e4fe1=_0x5d3c,_0x292c54=_0x373a39();while(!![]){try{const _0x524156=parseInt(_0x4e4fe1(0x165))/0x1*(-parseInt(_0x4e4fe1(0x154))/0x2)+parseInt(_0x4e4fe1(0x156))/0x3*(parseInt(_0x4e4fe1(0x163))/0x4)+parseInt(_0x4e4fe1(0x157))/0x5*(parseInt(_0x4e4fe1(0x142))/0x6)+parseInt(_0x4e4fe1(0x14a))/0x7*(parseInt(_0x4e4fe1(0x153))/0x8)+-parseInt(_0x4e4fe1(0x15f))/0x9+parseInt(_0x4e4fe1(0x14b))/0xa+parseInt(_0x4e4fe1(0x158))/0xb;if(_0x524156===_0x26ca18)break;else _0x292c54['push'](_0x292c54['shift']());}catch(_0xabe760){_0x292c54['push'](_0x292c54['shift']());}}}(_0x41a6,0x4a1fc));import{Plugin as _0x130d79}from'ckeditor5/src/core.js';import{getTranslation as _0x313ff5}from'../utils/common-translations.js';export default class Ct extends _0x130d79{[_0x4820f8(0x140)](){const _0x3961ee=_0x4820f8,_0x1cfc08=this[_0x3961ee(0x15d)];if(!_0x1cfc08[_0x3961ee(0x15b)][_0x3961ee(0x161)](_0x3961ee(0x16a)))return;const _0x1a5dc4=_0x1cfc08[_0x3961ee(0x15b)][_0x3961ee(0x141)](_0x3961ee(0x13e));_0x1a5dc4[_0x3961ee(0x164)][_0x3961ee(0x149)](_0x3961ee(0x152),()=>_0x313ff5(_0x1cfc08[_0x3961ee(0x146)],_0x3961ee(0x169))),_0x1cfc08[_0x3961ee(0x166)][_0x3961ee(0x143)][_0x3961ee(0x15a)](_0x2cd9d9=>{const _0x4c9145=_0x3961ee;let _0x3a1470=!0x1;const _0x2996c7=Array[_0x4c9145(0x162)](_0x1cfc08[_0x4c9145(0x166)][_0x4c9145(0x143)][_0x4c9145(0x14e)][_0x4c9145(0x168)]());for(const {name:_0x20e19f,data:_0x1d53ab}of _0x2996c7){const {group:_0x44144d}=_0x1a5dc4[_0x4c9145(0x147)](_0x20e19f);if(_0x4c9145(0x145)!==_0x44144d||!_0x1d53ab[_0x4c9145(0x14f)])continue;const _0x413d83=_0x1d53ab[_0x4c9145(0x14f)],_0x4a406d=_0x413d83[_0x4c9145(0x167)][_0x4c9145(0x14d)];if(!_0x4a406d||!_0x4a406d['is'](_0x4c9145(0x148),_0x4c9145(0x152)))continue;if(!_0x413d83[_0x4c9145(0x13f)][_0x4c9145(0x144)](_0x413d83[_0x4c9145(0x167)]))continue;const _0x31b1df=_0x1cfc08[_0x4c9145(0x166)][_0x4c9145(0x14c)][_0x4c9145(0x155)](_0x413d83[_0x4c9145(0x167)],_0x4c9145(0x15e));if(_0x31b1df&&_0x31b1df[_0x4c9145(0x150)]){const _0x22f743=_0x2cd9d9[_0x4c9145(0x160)](_0x413d83[_0x4c9145(0x13f)],_0x31b1df[_0x4c9145(0x13f)]);_0x22f743[_0x4c9145(0x159)](_0x413d83)||(_0x2cd9d9[_0x4c9145(0x151)](_0x20e19f,{'range':_0x22f743}),_0x3a1470=!0x0);}_0x3a1470||(_0x2cd9d9[_0x4c9145(0x15c)](_0x20e19f),_0x3a1470=!0x0);}return _0x3a1470;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdf7766=_0x1fdd;function _0x1fdd(_0x185c17,_0x82743b){const _0x4f6bd7=_0x4f6b();return _0x1fdd=function(_0x1fdd4d,_0x4475b5){_0x1fdd4d=_0x1fdd4d-0x18b;let _0x1fdad1=_0x4f6bd7[_0x1fdd4d];return _0x1fdad1;},_0x1fdd(_0x185c17,_0x82743b);}function _0x4f6b(){const _0x5e2266=['686871HaKgzU','TrackChangesEditing','has','enableCommand','1369200vnFCbs','get','7oHXsui','plugins','2DUSNoB','8pSodNq','afterInit','undo','redo','41975iGQEqd','editor','1127058efCvjG','154551JMbzte','806832oUsDeO','7766500sfGMUQ','UndoEditing'];_0x4f6b=function(){return _0x5e2266;};return _0x4f6b();}(function(_0x3237f2,_0x319e93){const _0x5de1bd=_0x1fdd,_0x4eb7e9=_0x3237f2();while(!![]){try{const _0x2ec90f=-parseInt(_0x5de1bd(0x19b))/0x1*(parseInt(_0x5de1bd(0x193))/0x2)+-parseInt(_0x5de1bd(0x19a))/0x3+-parseInt(_0x5de1bd(0x19c))/0x4+-parseInt(_0x5de1bd(0x198))/0x5+-parseInt(_0x5de1bd(0x18f))/0x6*(-parseInt(_0x5de1bd(0x191))/0x7)+-parseInt(_0x5de1bd(0x194))/0x8*(parseInt(_0x5de1bd(0x18b))/0x9)+parseInt(_0x5de1bd(0x19d))/0xa;if(_0x2ec90f===_0x319e93)break;else _0x4eb7e9['push'](_0x4eb7e9['shift']());}catch(_0x505197){_0x4eb7e9['push'](_0x4eb7e9['shift']());}}}(_0x4f6b,0x2df1f));import{Plugin as _0x898e19}from'ckeditor5/src/core.js';export default class Dt extends _0x898e19{[_0xdf7766(0x195)](){const _0x1ee804=_0xdf7766,_0x9b19d=this[_0x1ee804(0x199)],_0x30b269=_0x9b19d[_0x1ee804(0x192)][_0x1ee804(0x190)](_0x1ee804(0x18c));_0x9b19d[_0x1ee804(0x192)][_0x1ee804(0x18d)](_0x1ee804(0x19e))&&(_0x30b269[_0x1ee804(0x18e)](_0x1ee804(0x196)),_0x30b269[_0x1ee804(0x18e)](_0x1ee804(0x197)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
(function(_0x5751e3,_0x297aca){const _0x3eff44=_0x412e,_0x39efdc=_0x5751e3();while(!![]){try{const _0xc4cc50=-parseInt(_0x3eff44(0x142))/0x1*(parseInt(_0x3eff44(0x135))/0x2)+parseInt(_0x3eff44(0x123))/0x3+parseInt(_0x3eff44(0x11f))/0x4+-parseInt(_0x3eff44(0x128))/0x5+-parseInt(_0x3eff44(0x14c))/0x6*(-parseInt(_0x3eff44(0x14a))/0x7)+-parseInt(_0x3eff44(0x13e))/0x8*(-parseInt(_0x3eff44(0x150))/0x9)+-parseInt(_0x3eff44(0x132))/0xa;if(_0xc4cc50===_0x297aca)break;else _0x39efdc['push'](_0x39efdc['shift']());}catch(_0x4dcc7d){_0x39efdc['push'](_0x39efdc['shift']());}}}(_0x20e5,0x786cb));function _0x20e5(){const _0x5137bf=['getWalker','getAttribute','addClass','listItem','parent','item','7SJHStZ','plugins','3949518oPJttF','markerRange','span','get','1905984vWtPoL','mapper','isBlock','addHighlight','model','isLimit','2849104YBMpLa','previousPosition','start','schema','896418iVHbeq','elementEnd','TrackChangesEditing','createRangeOn','nextSibling','270810UhkdsQ','activeMarkers','markerName','listIndent','includes','ck-suggestion-marker--active','getCustomProperty','isContent','insert','toViewElement','15416200xgpIlx','isAtEnd','bindElementToMarker','284932ykgYqE','type','name','consumable','push','getItems','element','createUIElement','writer','32bvKQKc','ck-suggestion-marker-','hasAttribute','test','3bruhTf','toViewPosition'];_0x20e5=function(){return _0x5137bf;};return _0x20e5();}export function getRangesWithAttribute(_0x141fa9,_0x328591,_0x5c4ff4){const _0xc720b9=_0x412e,_0x4dd315=[];for(const _0x1a078d of _0x328591[_0xc720b9(0x13a)]())_0x1a078d[_0xc720b9(0x140)](_0x141fa9)&&_0x4dd315[_0xc720b9(0x139)](_0x5c4ff4[_0xc720b9(0x126)](_0x1a078d));return _0x4dd315;}export function getElementsAffectedByListItemRename(_0x1023dd){const _0x118229=_0x412e,_0x2addb0=[];if(_0x1023dd['is'](_0x118229(0x13b),_0x118229(0x147))){let _0x4b403a=_0x1023dd[_0x118229(0x127)];for(;_0x4b403a&&_0x4b403a['is'](_0x118229(0x13b),_0x118229(0x147))&&_0x4b403a[_0x118229(0x145)](_0x118229(0x12b))>0x0;)_0x2addb0[_0x118229(0x139)](_0x4b403a),_0x4b403a=_0x4b403a[_0x118229(0x127)];}return _0x2addb0;}function _0x412e(_0x191449,_0x4f073b){const _0x20e567=_0x20e5();return _0x412e=function(_0x412e98,_0x131099){_0x412e98=_0x412e98-0x11e;let _0x2a7539=_0x20e567[_0x412e98];return _0x2a7539;},_0x412e(_0x191449,_0x4f073b);}export function downcastSplitMergeMarker(_0x4cf690,_0x54a632,{showActiveMarker:_0x399cf2=!0x0}={}){const _0x453b7f=_0x412e,_0x25a3b1=_0x4cf690[_0x453b7f(0x14b)][_0x453b7f(0x14f)](_0x453b7f(0x125));return(_0x48d7e8,_0xe8ff79,_0x191e51)=>{const _0x5e9b92=_0x453b7f;if(!_0x191e51[_0x5e9b92(0x138)][_0x5e9b92(0x141)](_0xe8ff79[_0x5e9b92(0x14d)],_0x48d7e8[_0x5e9b92(0x137)]))return;const _0x3d8f37=_0xe8ff79[_0x5e9b92(0x14d)][_0x5e9b92(0x144)](),_0x57e847=_0xe8ff79[_0x5e9b92(0x14d)][_0x5e9b92(0x121)],_0x5cc346=_0x4cf690[_0x5e9b92(0x154)][_0x5e9b92(0x122)];let _0x52099f=null,_0x518032=null,_0x2ad493=!0x1,_0x366e0a=!0x1;for(const _0x24d714 of _0x3d8f37){const _0x20502b=_0x24d714[_0x5e9b92(0x149)];_0x2ad493=_0x2ad493||_0x5cc346[_0x5e9b92(0x12f)](_0x20502b);const _0x2e77ba=_0x191e51[_0x5e9b92(0x151)][_0x5e9b92(0x131)](_0x20502b);if(_0x2e77ba&&_0x2e77ba[_0x5e9b92(0x12e)](_0x5e9b92(0x153)))return;_0x5e9b92(0x124)==_0x24d714[_0x5e9b92(0x136)]&&(_0x5cc346[_0x5e9b92(0x152)](_0x20502b)&&!_0x5cc346[_0x5e9b92(0x11e)](_0x20502b)&&(_0x20502b[_0x5e9b92(0x127)]||_0x57e847[_0x5e9b92(0x133)]?_0x52099f&&_0x52099f[_0x5e9b92(0x148)]==_0x20502b||(_0x52099f=_0x20502b,_0x16d3f2(_0x24d714[_0x5e9b92(0x120)]),_0x366e0a=!0x0):_0x518032=_0x518032||_0x24d714[_0x5e9b92(0x120)]));}function _0x16d3f2(_0x103747){const _0x2111e4=_0x5e9b92,_0x46ab9f=_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x13c)](_0x2111e4(0x14e),{'class':_0x2111e4(0x13f)+_0x54a632}),_0x41eb35=_0x191e51[_0x2111e4(0x151)][_0x2111e4(0x143)](_0x103747);_0x399cf2&&_0x25a3b1[_0x2111e4(0x129)][_0x2111e4(0x12c)](_0xe8ff79[_0x2111e4(0x12a)])&&_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x146)](_0x2111e4(0x12d),_0x46ab9f),_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x130)](_0x41eb35,_0x46ab9f),_0x191e51[_0x2111e4(0x151)][_0x2111e4(0x134)](_0x46ab9f,_0xe8ff79[_0x2111e4(0x12a)]);}_0x2ad493||_0x366e0a||!_0x518032||_0x16d3f2(_0x518032);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11382b=_0x1bac;(function(_0x32ab8b,_0x45def1){const _0x42471f=_0x1bac,_0x9ae88e=_0x32ab8b();while(!![]){try{const _0x2216ee=parseInt(_0x42471f(0x134))/0x1+-parseInt(_0x42471f(0x14e))/0x2+-parseInt(_0x42471f(0x107))/0x3*(-parseInt(_0x42471f(0x112))/0x4)+-parseInt(_0x42471f(0x147))/0x5+-parseInt(_0x42471f(0x119))/0x6+parseInt(_0x42471f(0x10e))/0x7+-parseInt(_0x42471f(0x111))/0x8;if(_0x2216ee===_0x45def1)break;else _0x9ae88e['push'](_0x9ae88e['shift']());}catch(_0x14f2f5){_0x9ae88e['push'](_0x9ae88e['shift']());}}}(_0x3484,0x22478));import{Element as _0x343e8a}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x4d78db,uid as _0x52d53c}from'ckeditor5/src/utils.js';import{cloneDeep as _0x33c65d,isEqual as _0x36ac1f,set as _0x522878,unset as _0x131c14}from'lodash-es';function _0x1bac(_0x4249ba,_0x27d3a9){const _0x3484dc=_0x3484();return _0x1bac=function(_0x1bac13,_0x436d1d){_0x1bac13=_0x1bac13-0x106;let _0x3fe400=_0x3484dc[_0x1bac13];return _0x3fe400;},_0x1bac(_0x4249ba,_0x27d3a9);}export default class u extends _0x4d78db(){constructor(_0xfcd3e6,_0x47c7e2){const _0x572552=_0x1bac;super(),this[_0x572552(0x113)]=!0x1,this['id']=_0x47c7e2['id'],this[_0x572552(0x14d)]=_0x47c7e2[_0x572552(0x14d)],this[_0x572552(0x140)]=_0x47c7e2[_0x572552(0x140)]||null,this[_0x572552(0x124)]=_0x47c7e2[_0x572552(0x124)],this[_0x572552(0x125)]=_0x47c7e2[_0x572552(0x125)]||_0x47c7e2[_0x572552(0x124)],this[_0x572552(0x13a)]=Boolean(_0x47c7e2[_0x572552(0x127)]&&_0x47c7e2[_0x572552(0x127)][_0x572552(0x143)]),this[_0x572552(0x146)]=null,this[_0x572552(0x11f)]=_0xfcd3e6,this[_0x572552(0x12f)]=_0x47c7e2[_0x572552(0x12b)],this[_0x572552(0x117)]=_0x47c7e2[_0x572552(0x14c)],this[_0x572552(0x110)]=_0x47c7e2[_0x572552(0x11e)],this[_0x572552(0x154)]=new Set(),this[_0x572552(0x12a)]=null,this[_0x572552(0x13e)](_0x572552(0x13d),null),this[_0x572552(0x13e)](_0x572552(0x127),_0x47c7e2[_0x572552(0x127)]||{}),this[_0x572552(0x13e)](_0x572552(0x135),null),this[_0x572552(0x13e)](_0x572552(0x129),null),this[_0x572552(0x13e)](_0x572552(0x139),null),this[_0x572552(0x13e)](_0x572552(0x12d),!0x1),this[_0x572552(0x14a)](_0x572552(0x142)),this[_0x572552(0x14a)](_0x572552(0x132));}get[_0x11382b(0x13c)](){const _0x111961=_0x11382b;let _0x31d6f3=this;for(;_0x31d6f3[_0x111961(0x135)];)_0x31d6f3=_0x31d6f3[_0x111961(0x135)];return _0x31d6f3;}get[_0x11382b(0x14b)](){const _0x530ea4=_0x11382b;return!!this[_0x530ea4(0x139)]&&this[_0x530ea4(0x139)][_0x530ea4(0x122)]>0x0;}get[_0x11382b(0x11c)](){const _0x4fb3a1=_0x11382b;if(0x0==this[_0x4fb3a1(0x154)][_0x4fb3a1(0x11a)])return!0x1;return 0x6==Array[_0x4fb3a1(0x151)](this[_0x4fb3a1(0x154)])[0x0][_0x4fb3a1(0x136)](':')[_0x4fb3a1(0x122)];}get[_0x11382b(0x108)](){const _0x598a17=_0x11382b;return null!==this[_0x598a17(0x10a)]();}[_0x11382b(0x116)](_0xb6f2cf){const _0x37464e=_0x11382b;this[_0x37464e(0x154)][_0x37464e(0x141)](_0xb6f2cf);}[_0x11382b(0x153)](){const _0x199462=_0x11382b;return Array[_0x199462(0x151)](this[_0x199462(0x154)]);}[_0x11382b(0x109)](){const _0x23e15b=_0x11382b;return this[_0x23e15b(0x153)]()[_0x23e15b(0x145)](_0x407e81=>this[_0x23e15b(0x11f)][_0x23e15b(0x144)][_0x23e15b(0x133)](_0x407e81))[_0x23e15b(0x106)](_0x17d950=>_0x17d950);}[_0x11382b(0x10a)](){const _0x2c55a7=_0x11382b;return this[_0x2c55a7(0x109)]()[0x0]||null;}[_0x11382b(0x148)](){const _0x4036ef=_0x11382b;this[_0x4036ef(0x11f)][_0x4036ef(0x131)](_0x41f3f0=>{const _0x4ea3f7=_0x4036ef;for(const _0x23b9ae of this[_0x4ea3f7(0x109)]())_0x41f3f0[_0x4ea3f7(0x114)](_0x23b9ae);}),this[_0x4036ef(0x154)][_0x4036ef(0x12c)]();}[_0x11382b(0x114)](_0x2b472a){const _0x464548=_0x11382b;this[_0x464548(0x11f)][_0x464548(0x131)](_0x2044a5=>{const _0x52f1b1=_0x464548;_0x2044a5[_0x52f1b1(0x114)](_0x2b472a);}),this[_0x464548(0x154)][_0x464548(0x126)](_0x2b472a);}[_0x11382b(0x115)](_0x591677){const _0xd6b59a=_0x11382b,_0x2b462a=_0xd6b59a(0x11b)+this[_0xd6b59a(0x14d)]+':'+this[_0xd6b59a(0x140)]+':'+this['id']+':'+this[_0xd6b59a(0x125)]['id']+':'+u[_0xd6b59a(0x149)]();this[_0xd6b59a(0x116)](_0x2b462a),this[_0xd6b59a(0x11f)][_0xd6b59a(0x131)](_0x9a676d=>{const _0x2460f5=_0xd6b59a;_0x9a676d[_0x2460f5(0x10c)](_0x2b462a,{'range':_0x591677,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x11382b(0x10b)](_0x16ad5e){const _0x100c57=_0x11382b;for(const _0x7215bf of this[_0x100c57(0x11d)]())if(_0x7215bf[_0x100c57(0x13b)](_0x16ad5e))return!0x0;return!0x1;}[_0x11382b(0x11d)](){const _0x1424ed=_0x11382b;return this[_0x1424ed(0x109)]()[_0x1424ed(0x145)](_0x3e73df=>_0x3e73df[_0x1424ed(0x13f)]());}[_0x11382b(0x10f)](){const _0x196d17=_0x11382b;return this[_0x196d17(0x11d)]()[_0x196d17(0x10d)]((_0x11c950,_0x588e2b)=>[..._0x11c950,..._0x588e2b[_0x196d17(0x10f)]()],[]);}[_0x11382b(0x123)](){const _0x4e9202=_0x11382b;var _0x5a9cb1;return(null===(_0x5a9cb1=this[_0x4e9202(0x10a)]())||void 0x0===_0x5a9cb1?void 0x0:_0x5a9cb1[_0x4e9202(0x13f)]())||null;}[_0x11382b(0x150)](){const _0x53d381=_0x11382b,_0x4796ed=this[_0x53d381(0x11d)]();if(0x1!=_0x4796ed[_0x53d381(0x122)])return null;const _0x110a8d=_0x4796ed[0x0],_0x4afa11=_0x110a8d[_0x53d381(0x137)][_0x53d381(0x118)],_0x7c0a77=_0x110a8d[_0x53d381(0x14f)][_0x53d381(0x152)];return _0x4afa11 instanceof _0x343e8a?_0x4afa11!=_0x7c0a77?null:_0x4afa11:null;}[_0x11382b(0x142)](){const _0x47e8c3=_0x11382b;this[_0x47e8c3(0x12f)](this[_0x47e8c3(0x11d)](),this[_0x47e8c3(0x146)],this[_0x47e8c3(0x127)]),this[_0x47e8c3(0x148)]();}[_0x11382b(0x132)](){const _0x3e6146=_0x11382b;this[_0x3e6146(0x117)](this[_0x3e6146(0x11d)](),this[_0x3e6146(0x146)],this[_0x3e6146(0x127)]),this[_0x3e6146(0x148)]();}[_0x11382b(0x121)](){const _0x2aa01b=_0x11382b,_0x57bbfd=[];let _0x33a098=this[_0x2aa01b(0x13c)];for(;_0x33a098;)_0x57bbfd[_0x2aa01b(0x128)](_0x33a098),_0x33a098=_0x33a098[_0x2aa01b(0x129)];return _0x57bbfd;}[_0x11382b(0x12e)](_0x4f3e00,_0x4483ba){const _0x17f42c=_0x11382b,_0x28cc8e=_0x33c65d(this[_0x17f42c(0x127)]);_0x522878(_0x28cc8e,_0x4f3e00,_0x4483ba),_0x36ac1f(_0x28cc8e,this[_0x17f42c(0x127)])||(this[_0x17f42c(0x127)]=_0x28cc8e,this[_0x17f42c(0x110)](_0x28cc8e));}[_0x11382b(0x138)](_0xbc8d8){const _0x48e3a7=_0x11382b,_0x45dae3=_0x33c65d(this[_0x48e3a7(0x127)]);_0x131c14(_0x45dae3,_0xbc8d8),_0x36ac1f(_0x45dae3,this[_0x48e3a7(0x127)])||(this[_0x48e3a7(0x127)]=_0x45dae3,this[_0x48e3a7(0x110)](this[_0x48e3a7(0x127)]));}[_0x11382b(0x130)](){const _0x1c54e2=_0x11382b;return{'id':this['id'],'type':this[_0x1c54e2(0x140)]?this[_0x1c54e2(0x14d)]+':'+this[_0x1c54e2(0x140)]:this[_0x1c54e2(0x14d)],'authorId':this[_0x1c54e2(0x125)]['id'],'createdAt':this[_0x1c54e2(0x12a)],'hasComments':this[_0x1c54e2(0x14b)],'data':this[_0x1c54e2(0x146)],'attributes':this[_0x1c54e2(0x127)]};}static[_0x11382b(0x149)](){const _0x461181=_0x11382b;return _0x52d53c()[_0x461181(0x120)](0x1,0x5);}}function _0x3484(){const _0x1a47e8=['discard','get','162284smyMGK','previous','split','start','removeAttribute','commentThread','isExternal','isIntersecting','head','authoredAt','set','getRange','subType','add','accept','@external','markers','map','data','324845yLGbjP','removeMarkers','getMultiRangeId','decorate','hasComments','onDiscard','type','92858vqwzoQ','end','getContainedElement','from','nodeBefore','getMarkerNames','_markerNames','filter','2199aGqKzb','isInContent','getMarkers','getFirstMarker','isIntersectingWithRange','addMarker','reduce','1518398csyhWN','getItems','_onAttributesChange','859264KIwGsb','1284PgzNrY','_isDataLoaded','removeMarker','addRange','addMarkerName','_onDiscard','nodeAfter','1531662EwBnVU','size','suggestion:','isMultiRange','getRanges','onAttributesChange','_model','substr','getAllAdjacentSuggestions','length','getFirstRange','author','creator','delete','attributes','push','next','createdAt','onAccept','clear','_saved','setAttribute','_onAccept','toJSON','change'];_0x3484=function(){return _0x1a47e8;};return _0x3484();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f89=['isEqual','quantity','removeEmptyContainer','push','$text','getDescriptions','remove','_handleRenameSuggestionDescription','getItemLabel','skip','EmptyContainer','nextSibling','_addDescriptionItems','element','REPLACE_TEXT','_handleInsertRemoveSuggestionDescription','match','softBreak','format','elementEnd','*Split:*\x20%0','elementStart','name','*Remove\x20format:*\x20%0','deletion','indexOf','type','normal','pop','Container','data','_handleCustomCallbackDescription','map','add','_handleAttributeSuggestionDescription','registerAttributeLabel','replace','_customCallbacks','item','isObject','join','registerElementLabel','get','end','previousSibling','addContainer','label','_resolveDescriptionItems','key','attribute','_locale','start','removeContainer','isEmpty','ELEMENT_SPACE','subType','function','_itemLabels','*Insert:*\x20%0','getWalker','removeFormat','_schema','addEmptyContainer','$1\x20$2','text','$textProxy','_attributeLabels','nodeAfter','registerDescriptionCallback','has','set','Object','getFirstRange','length','_itemLabelsCallbacks','insertion','removeObject','*Remove:*\x20%0'];(function(_0x5bd754,_0x3f89bd){const _0x99cf62=function(_0x515699){while(--_0x515699){_0x5bd754['push'](_0x5bd754['shift']());}};_0x99cf62(++_0x3f89bd);}(_0x3f89,0x1e6));const _0x99cf=function(_0x5bd754,_0x3f89bd){_0x5bd754=_0x5bd754-0x0;let _0x99cf62=_0x3f89[_0x5bd754];return _0x99cf62;};import{getTranslation as _0x93902c}from'./utils/common-translations.js';import{priorities as _0x40c40b,insertToPriorityArray as _0x54e3d2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3c7776}from'./trackchangesediting.js';export default class f{constructor(_0x1e8e42,_0x415142){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this[_0x99cf('0x38')]=[],this['_attributeLabels']=new Map(),this['_schema']=_0x1e8e42,this[_0x99cf('0x20')]=_0x415142;}[_0x99cf('0x41')](_0x31cc22){const _0x1924d9=[],_0x34738c=new Set(),_0x1b58ed=new Set();for(let _0x12b1db=0x0;_0x12b1db<_0x31cc22[_0x99cf('0x37')];_0x12b1db++){const _0x1e7930=_0x31cc22[_0x12b1db];if(!_0x1e7930['isInContent'])continue;const _0x26ce0e=this['_handleCustomCallbackDescription'](_0x1e7930);if(_0x26ce0e){if(null!=_0x1e7930['subType']){if(_0x34738c[_0x99cf('0x33')](_0x1e7930[_0x99cf('0x25')]))continue;_0x34738c['add'](_0x1e7930['subType']);}_0x1924d9[_0x99cf('0x3f')](_0x26ce0e);}else{if(_0x99cf('0x1f')!=_0x1e7930[_0x99cf('0x8')])_0x99cf('0x39')!=_0x1e7930['type']&&_0x99cf('0x6')!=_0x1e7930[_0x99cf('0x8')]||this[_0x99cf('0x4b')](_0x1924d9,_0x1e7930,_0x31cc22[_0x12b1db+0x1]);else{const _0x3c53cd=_0x1e7930[_0x99cf('0xc')][_0x99cf('0x1e')];if(_0x1b58ed[_0x99cf('0x33')](_0x3c53cd))continue;_0x1b58ed[_0x99cf('0xf')](_0x1e7930['data']['key']),_0x3c53cd==_0x3c7776?this[_0x99cf('0x43')](_0x1924d9,_0x1e7930):this[_0x99cf('0x10')](_0x1924d9,_0x1e7930);}}}return this[_0x99cf('0x1d')](_0x1924d9);}[_0x99cf('0x32')](_0x392fce){this[_0x99cf('0x13')][_0x99cf('0x3f')](_0x392fce);}[_0x99cf('0x17')](_0x409ef5,_0x540762,_0x357b0f=_0x40c40b[_0x99cf('0x9')]){_0x99cf('0x26')==typeof _0x409ef5?_0x54e3d2(this[_0x99cf('0x38')],{'matchingCallback':_0x409ef5,'label':_0x540762,'priority':_0x357b0f}):this['_itemLabels']['set'](_0x409ef5,_0x540762);}[_0x99cf('0x11')](_0x5b00f6,_0x247676){this[_0x99cf('0x30')][_0x99cf('0x34')](_0x5b00f6,_0x247676);}[_0x99cf('0x44')](_0x57fffb,_0x3a6ab6=0x1){let _0x51c0d9;for(const _0xb81998 of this[_0x99cf('0x38')])if(_0xb81998['matchingCallback'](_0x57fffb)){_0x51c0d9=_0xb81998[_0x99cf('0x1c')];break;}return _0x51c0d9||(_0x51c0d9=this[_0x99cf('0x27')][_0x99cf('0x18')](_0x57fffb[_0x99cf('0x4')])),_0x51c0d9?_0x51c0d9(_0x3a6ab6):0x1!==_0x3a6ab6?_0x3a6ab6+'\x20'+_0x57fffb[_0x99cf('0x4')]+'s':''+_0x57fffb[_0x99cf('0x4')];}[_0x99cf('0x48')](_0x1f4579,_0x12ea20){const _0x5a9774=_0x12ea20[_0x99cf('0x36')]()[_0x99cf('0x29')](),_0x2be546=_0x99cf('0x39')==_0x12ea20[_0x99cf('0x8')]?_0x99cf('0xf'):'remove';for(const _0x39983f of _0x5a9774){const _0x5c3ca8=_0x39983f['item'],_0x16cbfc=_0x1f4579[_0x1f4579[_0x99cf('0x37')]-0x1];if(_0x5c3ca8['is'](_0x99cf('0x2f')))_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]['indexOf'](_0x99cf('0xb'))>-0x1&&_0x1f4579['pop'](),_0x16cbfc&&'text'==_0x16cbfc[_0x99cf('0x8')]?_0x16cbfc[_0x2be546]+=_0x5c3ca8[_0x99cf('0xc')]:_0x1f4579[_0x99cf('0x3f')]({'type':_0x99cf('0x2e'),'add':_0x99cf('0xf')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:'','remove':_0x99cf('0x42')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:''});else{if(this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x5c3ca8)){const _0x5d0ada=_0x5c3ca8;if(_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')][_0x99cf('0x7')](_0x99cf('0xb'))>-0x1&&_0x1f4579[_0x99cf('0xa')](),'elementEnd'==_0x39983f[_0x99cf('0x8')])continue;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x35')&&_0x16cbfc[_0x99cf('0x49')][_0x99cf('0x4')]==_0x5d0ada[_0x99cf('0x4')]?_0x16cbfc[_0x99cf('0x3d')]++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x35'),'element':_0x5d0ada,'quantity':0x1}),_0x5a9774[_0x99cf('0x45')](_0x596284=>!(_0x99cf('0x1')==_0x596284[_0x99cf('0x8')]&&_0x596284[_0x99cf('0x14')]==_0x5c3ca8));}else{if(this['_schema']['checkChild'](_0x5c3ca8,_0x99cf('0x40'))||_0x5c3ca8['is'](_0x99cf('0x49'),_0x99cf('0x4d'))){const _0x19a263=_0x5c3ca8;if(_0x99cf('0xf')==_0x2be546&&_0x99cf('0x3')==_0x39983f[_0x99cf('0x8')]||'remove'==_0x2be546&&_0x99cf('0x1')==_0x39983f[_0x99cf('0x8')])continue;if(_0x16cbfc&&-0x1==_0x16cbfc[_0x99cf('0x8')]['indexOf']('Container')){_0x99cf('0x2e')==_0x16cbfc['type']&&(_0x16cbfc[_0x2be546]+='\x0a');continue;}let _0x46bbcd;if(_0x46bbcd=_0x99cf('0xf')==_0x2be546?_0x19a263['nextSibling']&&!this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x19a263[_0x99cf('0x47')])?_0x19a263['nextSibling']:null:_0x19a263['previousSibling']&&!this['_schema']['isObject'](_0x19a263[_0x99cf('0x1a')])?_0x19a263[_0x99cf('0x1a')]:null,_0x19a263[_0x99cf('0x23')]||_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]){const _0xfdf75e=_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]?_0x46bbcd:_0x19a263;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x46')&&_0x16cbfc['element'][_0x99cf('0x4')]==_0xfdf75e['name']?_0x16cbfc['quantity']++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x46'),'element':_0xfdf75e,'quantity':0x1});}else _0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+'Container','element':_0x19a263});}}}}}[_0x99cf('0x1d')](_0x160e20){const _0x43b2a2=this['_locale'],_0x3749ac=[],_0x369144=[],_0x423ff6=[];for(const _0x5666ee of _0x160e20)switch(_0x5666ee[_0x99cf('0x8')]){case'text':if(_0x5666ee[_0x99cf('0xf')]=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,_0x99cf('0x2d'))['replace'](/\u000A/g,''),_0x5666ee[_0x99cf('0x42')]=_0x5666ee[_0x99cf('0x42')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x99cf('0x12')](/\u000A/g,''),''!=_0x5666ee['add']&&''!=_0x5666ee[_0x99cf('0x42')]){_0x3749ac['push']({'type':_0x99cf('0x12'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x4a'),['\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22','\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22'])});continue;}if(null!=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x4c')](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,'*Insert:*\x20%0',_0x93902c(_0x43b2a2,'ELEMENT_SPACE',_0x5666ee['add'][_0x99cf('0x37')]))});continue;}if(null!=_0x5666ee[_0x99cf('0x42')]['match'](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),_0x93902c(_0x43b2a2,_0x99cf('0x24'),_0x5666ee['remove'][_0x99cf('0x37')]))});continue;}if(''!=_0x5666ee[_0x99cf('0xf')]){_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),'\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22')});continue;}_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),'\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22')});continue;case _0x99cf('0x2c'):case'addObject':_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),this[_0x99cf('0x44')](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x3e'):case _0x99cf('0x3a'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x6'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee['quantity']))});continue;case _0x99cf('0x1b'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x2'),this['getItemLabel'](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x22'):_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,'*Merge:*\x20%0',this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee[_0x99cf('0x3d')]))});continue;case'addFormat':_0x369144['push'](_0x5666ee[_0x99cf('0x1e')]);continue;case _0x99cf('0x2a'):_0x423ff6['push'](_0x5666ee[_0x99cf('0x1e')]);continue;default:_0x3749ac['push'](_0x5666ee);}if(_0x369144['length']){const _0x1f2e7f=_0x369144[_0x99cf('0xe')](_0x13cbde=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x13cbde)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x13cbde):_0x13cbde)[_0x99cf('0x16')](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this['_locale'],'*Set\x20format:*\x20%0',_0x1f2e7f)});}if(_0x423ff6[_0x99cf('0x37')]){const _0x1c2f0e=_0x423ff6['map'](_0x42ffab=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x42ffab)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x42ffab):_0x42ffab)['join'](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],_0x99cf('0x5'),_0x1c2f0e)});}return _0x3749ac;}[_0x99cf('0xd')](_0x2c6823){for(const _0x3a2f0f of this[_0x99cf('0x13')]){const _0x4ab286=_0x3a2f0f(_0x2c6823);if(_0x4ab286&&'type'in _0x4ab286)return _0x4ab286;}}[_0x99cf('0x10')](_0x41750d,_0x44c79d){const _0x3c5745=_0x44c79d['data'],_0x1da75d=void 0x0===_0x3c5745['newValue']?'removeFormat':'addFormat';_0x41750d['push']({'type':_0x1da75d,'key':_0x3c5745['key']});}[_0x99cf('0x43')](_0x577b80,_0x326405){_0x577b80[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],'*Change\x20to:*\x20%0',this[_0x99cf('0x44')](_0x326405[_0x99cf('0x36')]()[_0x99cf('0x21')][_0x99cf('0x31')],0x1))});}[_0x99cf('0x4b')](_0x1ce7cb,_0x2e6f45,_0x24a54a){if(this[_0x99cf('0x48')](_0x1ce7cb,_0x2e6f45),_0x24a54a&&_0x24a54a['getFirstRange']()&&!_0x2e6f45[_0x99cf('0x36')]()[_0x99cf('0x19')][_0x99cf('0x3c')](_0x24a54a['getFirstRange']()['start'])){const _0x1cec1a=_0x1ce7cb[_0x1ce7cb['length']-0x1],_0x56aea7=_0x99cf('0x39')==_0x2e6f45[_0x99cf('0x8')]?_0x99cf('0xf'):_0x99cf('0x42');_0x1cec1a&&_0x99cf('0x2e')==_0x1cec1a[_0x99cf('0x8')]&&(_0x1cec1a[_0x56aea7]+='\x0a');}}}
|
|
23
|
+
const _0x5bb3da=_0x5055;(function(_0x4ff590,_0x1c66fa){const _0x1154cc=_0x5055,_0x256a35=_0x4ff590();while(!![]){try{const _0x20ee98=-parseInt(_0x1154cc(0x131))/0x1+parseInt(_0x1154cc(0x10b))/0x2*(-parseInt(_0x1154cc(0x140))/0x3)+parseInt(_0x1154cc(0xfe))/0x4*(-parseInt(_0x1154cc(0xf6))/0x5)+-parseInt(_0x1154cc(0x100))/0x6+-parseInt(_0x1154cc(0x122))/0x7*(parseInt(_0x1154cc(0xfc))/0x8)+parseInt(_0x1154cc(0x112))/0x9+parseInt(_0x1154cc(0x123))/0xa;if(_0x20ee98===_0x1c66fa)break;else _0x256a35['push'](_0x256a35['shift']());}catch(_0x1e6e57){_0x256a35['push'](_0x256a35['shift']());}}}(_0xf818,0xa4821));import{getTranslation as _0x1c17a7}from'./utils/common-translations.js';import{priorities as _0x53910b,insertToPriorityArray as _0xc95647}from'ckeditor5/src/utils.js';function _0x5055(_0x407484,_0x40f57c){const _0xf81802=_0xf818();return _0x5055=function(_0x50557e,_0x5add21){_0x50557e=_0x50557e-0xe1;let _0x545509=_0xf81802[_0x50557e];return _0x545509;},_0x5055(_0x407484,_0x40f57c);}import{renameAttributeKey as _0x44200a}from'./trackchangesediting.js';function _0xf818(){const _0x4f9876=['_handleAttributeSuggestionDescription','getItemLabel','_handleInsertRemoveSuggestionDescription','has','elementEnd','removeContainer','REPLACE_TEXT','key','previousSibling','_handleRenameSuggestionDescription','getDescriptions','*Change\x20to:*\x20%0','item','remove','format','32855dJCLJD','push','getFirstRange','quantity','ELEMENT_SPACE','indexOf','328jVpIZP','nodeAfter','52ZbDcfV','newValue','332244OuQtXw','data','addContainer','add','getWalker','EmptyContainer','element','map','insertion','join','addEmptyContainer','200YKtLSS','label','registerAttributeLabel','*Remove:*\x20%0','registerDescriptionCallback','_customCallbacks','elementStart','11649996kLEkkA','replace','set','nextSibling','removeObject','isEqual','length','type','_itemLabels','_resolveDescriptionItems','text','registerElementLabel','removeFormat','isObject','subType','_locale','89537TXlkSi','23516160XsIuMD','_handleCustomCallbackDescription','isInContent','_attributeLabels','_addDescriptionItems','addFormat','attribute','Object','*Split:*\x20%0','skip','name','checkChild','_schema','*Insert:*\x20%0','1303007qJPpbU','match','*Merge:*\x20%0','removeEmptyContainer','isEmpty','start','get','Container','*Remove\x20format:*\x20%0','$textProxy','deletion','softBreak','*Set\x20format:*\x20%0','matchingCallback','_itemLabelsCallbacks','30120lBTbsw','function','addObject','end','normal','$1\x20$2','$text','pop'];_0xf818=function(){return _0x4f9876;};return _0xf818();}export default class f{constructor(_0x4d19d8,_0x1d58df){const _0x39ab7e=_0x5055;this[_0x39ab7e(0x110)]=[],this[_0x39ab7e(0x11a)]=new Map(),this[_0x39ab7e(0x13f)]=[],this[_0x39ab7e(0x126)]=new Map(),this[_0x39ab7e(0x12f)]=_0x4d19d8,this[_0x39ab7e(0x121)]=_0x1d58df;}[_0x5bb3da(0xf1)](_0x2d7bb8){const _0x354125=_0x5bb3da,_0x4e11a5=[],_0x3afd39=new Set(),_0x41c803=new Set();for(let _0x5aa60f=0x0;_0x5aa60f<_0x2d7bb8[_0x354125(0x118)];_0x5aa60f++){const _0x4ca093=_0x2d7bb8[_0x5aa60f];if(!_0x4ca093[_0x354125(0x125)])continue;const _0x401908=this[_0x354125(0x124)](_0x4ca093);if(_0x401908){if(null!=_0x4ca093[_0x354125(0x120)]){if(_0x3afd39[_0x354125(0xea)](_0x4ca093[_0x354125(0x120)]))continue;_0x3afd39[_0x354125(0x103)](_0x4ca093[_0x354125(0x120)]);}_0x4e11a5[_0x354125(0xf7)](_0x401908);}else{if(_0x354125(0x129)!=_0x4ca093[_0x354125(0x119)])_0x354125(0x108)!=_0x4ca093[_0x354125(0x119)]&&_0x354125(0x13b)!=_0x4ca093[_0x354125(0x119)]||this[_0x354125(0xe9)](_0x4e11a5,_0x4ca093,_0x2d7bb8[_0x5aa60f+0x1]);else{const _0x4c8d67=_0x4ca093[_0x354125(0x101)][_0x354125(0xee)];if(_0x41c803[_0x354125(0xea)](_0x4c8d67))continue;_0x41c803[_0x354125(0x103)](_0x4ca093[_0x354125(0x101)][_0x354125(0xee)]),_0x4c8d67==_0x44200a?this[_0x354125(0xf0)](_0x4e11a5,_0x4ca093):this[_0x354125(0xe7)](_0x4e11a5,_0x4ca093);}}}return this[_0x354125(0x11b)](_0x4e11a5);}[_0x5bb3da(0x10f)](_0x46818f){const _0x5d13d0=_0x5bb3da;this[_0x5d13d0(0x110)][_0x5d13d0(0xf7)](_0x46818f);}[_0x5bb3da(0x11d)](_0x301641,_0x317009,_0x326ea6=_0x53910b[_0x5bb3da(0xe3)]){const _0x266f7b=_0x5bb3da;_0x266f7b(0x141)==typeof _0x301641?_0xc95647(this[_0x266f7b(0x13f)],{'matchingCallback':_0x301641,'label':_0x317009,'priority':_0x326ea6}):this[_0x266f7b(0x11a)][_0x266f7b(0x114)](_0x301641,_0x317009);}[_0x5bb3da(0x10d)](_0x3cc6a8,_0x339fc5){const _0x509328=_0x5bb3da;this[_0x509328(0x126)][_0x509328(0x114)](_0x3cc6a8,_0x339fc5);}[_0x5bb3da(0xe8)](_0x177db9,_0x372cbe=0x1){const _0x5855c0=_0x5bb3da;let _0x1a9aae;for(const _0x499bf6 of this[_0x5855c0(0x13f)])if(_0x499bf6[_0x5855c0(0x13e)](_0x177db9)){_0x1a9aae=_0x499bf6[_0x5855c0(0x10c)];break;}return _0x1a9aae||(_0x1a9aae=this[_0x5855c0(0x11a)][_0x5855c0(0x137)](_0x177db9[_0x5855c0(0x12d)])),_0x1a9aae?_0x1a9aae(_0x372cbe):0x1!==_0x372cbe?_0x372cbe+'\x20'+_0x177db9[_0x5855c0(0x12d)]+'s':''+_0x177db9[_0x5855c0(0x12d)];}[_0x5bb3da(0x127)](_0x51231d,_0x291197){const _0x542f9f=_0x5bb3da,_0x2a8e9d=_0x291197[_0x542f9f(0xf8)]()[_0x542f9f(0x104)](),_0xee4c74=_0x542f9f(0x108)==_0x291197[_0x542f9f(0x119)]?_0x542f9f(0x103):_0x542f9f(0xf4);for(const _0x3127dc of _0x2a8e9d){const _0x3eae79=_0x3127dc[_0x542f9f(0xf3)],_0x4fbdd2=_0x51231d[_0x51231d[_0x542f9f(0x118)]-0x1];if(_0x3eae79['is'](_0x542f9f(0x13a)))_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))>-0x1&&_0x51231d[_0x542f9f(0xe6)](),_0x4fbdd2&&_0x542f9f(0x11c)==_0x4fbdd2[_0x542f9f(0x119)]?_0x4fbdd2[_0xee4c74]+=_0x3eae79[_0x542f9f(0x101)]:_0x51231d[_0x542f9f(0xf7)]({'type':_0x542f9f(0x11c),'add':_0x542f9f(0x103)==_0xee4c74?_0x3eae79[_0x542f9f(0x101)]:'','remove':_0x542f9f(0xf4)==_0xee4c74?_0x3eae79[_0x542f9f(0x101)]:''});else{if(this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x3eae79)){const _0x1e2c42=_0x3eae79;if(_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))>-0x1&&_0x51231d[_0x542f9f(0xe6)](),_0x542f9f(0xeb)==_0x3127dc[_0x542f9f(0x119)])continue;_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)]==_0xee4c74+_0x542f9f(0x12a)&&_0x4fbdd2[_0x542f9f(0x106)][_0x542f9f(0x12d)]==_0x1e2c42[_0x542f9f(0x12d)]?_0x4fbdd2[_0x542f9f(0xf9)]++:_0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x12a),'element':_0x1e2c42,'quantity':0x1}),_0x2a8e9d[_0x542f9f(0x12c)](_0x5338ea=>!(_0x542f9f(0xeb)==_0x5338ea[_0x542f9f(0x119)]&&_0x5338ea[_0x542f9f(0xf3)]==_0x3eae79));}else{if(this[_0x542f9f(0x12f)][_0x542f9f(0x12e)](_0x3eae79,_0x542f9f(0xe5))||_0x3eae79['is'](_0x542f9f(0x106),_0x542f9f(0x13c))){const _0x1e20f=_0x3eae79;if(_0x542f9f(0x103)==_0xee4c74&&_0x542f9f(0x111)==_0x3127dc[_0x542f9f(0x119)]||_0x542f9f(0xf4)==_0xee4c74&&_0x542f9f(0xeb)==_0x3127dc[_0x542f9f(0x119)])continue;if(_0x4fbdd2&&-0x1==_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))){_0x542f9f(0x11c)==_0x4fbdd2[_0x542f9f(0x119)]&&(_0x4fbdd2[_0xee4c74]+='\x0a');continue;}let _0x3dd665;if(_0x3dd665=_0x542f9f(0x103)==_0xee4c74?_0x1e20f[_0x542f9f(0x115)]&&!this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x1e20f[_0x542f9f(0x115)])?_0x1e20f[_0x542f9f(0x115)]:null:_0x1e20f[_0x542f9f(0xef)]&&!this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x1e20f[_0x542f9f(0xef)])?_0x1e20f[_0x542f9f(0xef)]:null,_0x1e20f[_0x542f9f(0x135)]||_0x3dd665&&_0x3dd665[_0x542f9f(0x135)]){const _0x528b0b=_0x3dd665&&_0x3dd665[_0x542f9f(0x135)]?_0x3dd665:_0x1e20f;_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)]==_0xee4c74+_0x542f9f(0x105)&&_0x4fbdd2[_0x542f9f(0x106)][_0x542f9f(0x12d)]==_0x528b0b[_0x542f9f(0x12d)]?_0x4fbdd2[_0x542f9f(0xf9)]++:_0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x105),'element':_0x528b0b,'quantity':0x1});}else _0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x138),'element':_0x1e20f});}}}}}[_0x5bb3da(0x11b)](_0x1451a7){const _0x2b959b=_0x5bb3da,_0x2948ba=this[_0x2b959b(0x121)],_0x20a0df=[],_0x4cb817=[],_0x5d802e=[];for(const _0xd19ce6 of _0x1451a7)switch(_0xd19ce6[_0x2b959b(0x119)]){case _0x2b959b(0x11c):if(_0xd19ce6[_0x2b959b(0x103)]=_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x113)](/(\S)\u000A+(\S)/g,_0x2b959b(0xe4))[_0x2b959b(0x113)](/\u000A/g,''),_0xd19ce6[_0x2b959b(0xf4)]=_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x113)](/(\S)\u000A+(\S)/g,_0x2b959b(0xe4))[_0x2b959b(0x113)](/\u000A/g,''),''!=_0xd19ce6[_0x2b959b(0x103)]&&''!=_0xd19ce6[_0x2b959b(0xf4)]){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x113),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0xed),['\x22'+_0xd19ce6[_0x2b959b(0xf4)]+'\x22','\x22'+_0xd19ce6[_0x2b959b(0x103)]+'\x22'])});continue;}if(null!=_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x132)](/^ +$/)){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),_0x1c17a7(_0x2948ba,_0x2b959b(0xfa),_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x118)]))});continue;}if(null!=_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x132)](/^ +$/)){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),_0x1c17a7(_0x2948ba,_0x2b959b(0xfa),_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x118)]))});continue;}if(''!=_0xd19ce6[_0x2b959b(0x103)]){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),'\x22'+_0xd19ce6[_0x2b959b(0x103)]+'\x22')});continue;}_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),'\x22'+_0xd19ce6[_0x2b959b(0xf4)]+'\x22')});continue;case _0x2b959b(0x10a):case _0x2b959b(0xe1):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x134):case _0x2b959b(0x116):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x102):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x12b),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0xec):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x133),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x128):_0x4cb817[_0x2b959b(0xf7)](_0xd19ce6[_0x2b959b(0xee)]);continue;case _0x2b959b(0x11e):_0x5d802e[_0x2b959b(0xf7)](_0xd19ce6[_0x2b959b(0xee)]);continue;default:_0x20a0df[_0x2b959b(0xf7)](_0xd19ce6);}if(_0x4cb817[_0x2b959b(0x118)]){const _0x73ea3e=_0x4cb817[_0x2b959b(0x107)](_0x30e49d=>this[_0x2b959b(0x126)][_0x2b959b(0xea)](_0x30e49d)?this[_0x2b959b(0x126)][_0x2b959b(0x137)](_0x30e49d):_0x30e49d)[_0x2b959b(0x109)](',\x20');_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0xf5),'content':_0x1c17a7(this[_0x2b959b(0x121)],_0x2b959b(0x13d),_0x73ea3e)});}if(_0x5d802e[_0x2b959b(0x118)]){const _0x31caf1=_0x5d802e[_0x2b959b(0x107)](_0x4437fe=>this[_0x2b959b(0x126)][_0x2b959b(0xea)](_0x4437fe)?this[_0x2b959b(0x126)][_0x2b959b(0x137)](_0x4437fe):_0x4437fe)[_0x2b959b(0x109)](',\x20');_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0xf5),'content':_0x1c17a7(this[_0x2b959b(0x121)],_0x2b959b(0x139),_0x31caf1)});}return _0x20a0df;}[_0x5bb3da(0x124)](_0x56bcf7){const _0x11b476=_0x5bb3da;for(const _0x5cd173 of this[_0x11b476(0x110)]){const _0x373af7=_0x5cd173(_0x56bcf7);if(_0x373af7&&_0x11b476(0x119)in _0x373af7)return _0x373af7;}}[_0x5bb3da(0xe7)](_0x161276,_0x14b75c){const _0x1f637e=_0x5bb3da,_0x359d0f=_0x14b75c[_0x1f637e(0x101)],_0x2d2ad6=void 0x0===_0x359d0f[_0x1f637e(0xff)]?_0x1f637e(0x11e):_0x1f637e(0x128);_0x161276[_0x1f637e(0xf7)]({'type':_0x2d2ad6,'key':_0x359d0f[_0x1f637e(0xee)]});}[_0x5bb3da(0xf0)](_0x2dcfb,_0x1f2fbc){const _0x4b854f=_0x5bb3da;_0x2dcfb[_0x4b854f(0xf7)]({'type':_0x4b854f(0xf5),'content':_0x1c17a7(this[_0x4b854f(0x121)],_0x4b854f(0xf2),this[_0x4b854f(0xe8)](_0x1f2fbc[_0x4b854f(0xf8)]()[_0x4b854f(0x136)][_0x4b854f(0xfd)],0x1))});}[_0x5bb3da(0xe9)](_0xdede3b,_0x4ed336,_0x49f7f3){const _0x4f5a96=_0x5bb3da;if(this[_0x4f5a96(0x127)](_0xdede3b,_0x4ed336),_0x49f7f3&&_0x49f7f3[_0x4f5a96(0xf8)]()&&!_0x4ed336[_0x4f5a96(0xf8)]()[_0x4f5a96(0xe2)][_0x4f5a96(0x117)](_0x49f7f3[_0x4f5a96(0xf8)]()[_0x4f5a96(0x136)])){const _0x3894c5=_0xdede3b[_0xdede3b[_0x4f5a96(0x118)]-0x1],_0x1fa598=_0x4f5a96(0x108)==_0x4ed336[_0x4f5a96(0x119)]?_0x4f5a96(0x103):_0x4f5a96(0xf4);_0x3894c5&&_0x4f5a96(0x11c)==_0x3894c5[_0x4f5a96(0x119)]&&(_0x3894c5[_0x1fa598]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5763ed=_0xac2b;(function(_0x5b4c2b,_0x5c98c){var _0x120f3b=_0xac2b,_0x506f41=_0x5b4c2b();while(!![]){try{var _0x2e9ccf=-parseInt(_0x120f3b(0xa5))/0x1+parseInt(_0x120f3b(0xa7))/0x2+parseInt(_0x120f3b(0xa6))/0x3+-parseInt(_0x120f3b(0xb6))/0x4*(parseInt(_0x120f3b(0xac))/0x5)+parseInt(_0x120f3b(0xb9))/0x6*(-parseInt(_0x120f3b(0xad))/0x7)+-parseInt(_0x120f3b(0xa9))/0x8+parseInt(_0x120f3b(0xb8))/0x9;if(_0x2e9ccf===_0x5c98c)break;else _0x506f41['push'](_0x506f41['shift']());}catch(_0x31651b){_0x506f41['push'](_0x506f41['shift']());}}}(_0x46c4,0xbac18));import{Plugin as _0x4a9310}from'ckeditor5/src/core.js';import _0x1da85c from'./trackchangesui.js';import _0x41c946 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4a9310{static get[_0x5763ed(0xb0)](){var _0x1b9732=_0x5763ed;return[_0x41c946,_0x1da85c,_0x1b9732(0xab)];}static get[_0x5763ed(0xaf)](){var _0x20a7b2=_0x5763ed;return _0x20a7b2(0xb3);}set[_0x5763ed(0xb4)](_0x5003ae){var _0x3f2b44=_0x5763ed;this[_0x3f2b44(0xa8)][_0x3f2b44(0xb7)][_0x3f2b44(0xb1)](_0x41c946)[_0x3f2b44(0xb4)]=_0x5003ae;}get[_0x5763ed(0xb4)](){var _0x3d9da8=_0x5763ed;return this[_0x3d9da8(0xa8)][_0x3d9da8(0xb7)][_0x3d9da8(0xb1)](_0x41c946)[_0x3d9da8(0xb4)];}[_0x5763ed(0xb2)](_0xdd2a12){var _0x4c46c0=_0x5763ed;return this[_0x4c46c0(0xa8)][_0x4c46c0(0xb7)][_0x4c46c0(0xb1)](_0x41c946)[_0x4c46c0(0xb5)](_0xdd2a12);}[_0x5763ed(0xae)]({skipNotAttached:_0x211ce0=!0x1,toJSON:_0x34354b=!0x1}={}){var _0x5d5806=_0x5763ed;return this[_0x5d5806(0xa8)][_0x5d5806(0xb7)][_0x5d5806(0xb1)](_0x41c946)[_0x5d5806(0xae)]({'skipNotAttached':_0x211ce0,'toJSON':_0x34354b});}[_0x5763ed(0xaa)](_0x3c3ebc){var _0x2a8063=_0x5763ed;return this[_0x2a8063(0xa8)][_0x2a8063(0xb7)][_0x2a8063(0xb1)](_0x41c946)[_0x2a8063(0xaa)](_0x3c3ebc);}}function _0xac2b(_0xb059e3,_0x59d1bc){var _0x46c48b=_0x46c4();return _0xac2b=function(_0xac2b92,_0x10a1af){_0xac2b92=_0xac2b92-0xa5;var _0x2db134=_0x46c48b[_0xac2b92];return _0x2db134;},_0xac2b(_0xb059e3,_0x59d1bc);}function _0x46c4(){var _0x188ca8=['8GHmgBY','plugins','23922792kPGxOR','4022886eYbmnk','1084906nTAqVg','4273797GLPwYT','486232UQaxaQ','editor','3043656FgFWNW','getSuggestion','Comments','1886315uLXGKm','14FvOhIF','getSuggestions','pluginName','requires','get','addSuggestion','TrackChanges','adapter','addSuggestionData'];_0x46c4=function(){return _0x188ca8;};return _0x46c4();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3133(){const _0x56b63d=['users','TrackChangesData','execute','Pagination','useAnonymousUser','TrackChangesEditing','2kxoejJ','track-changes-data-invalid-editor-creator','_adapter','6456cIqIAp','requires','plugins','set','Users','get','constructor','1017410oCoTua','1582425fzXzQH','data','trackChangesData.editorCreator','CommentsRepository','document','getDataWithAcceptedSuggestions','addUser','77FxoIRJ','end','map','getDataWithDiscardedSuggestions','162327oQVBNl','destroy','result','getSuggestions','rootsAttributes','name','push','8xhcmAs','266424NEmLts','1704791hvYFLz','reduce','4aEZWLi','editor','define','getUser','div','config','init','discardAllSuggestions','getFullData','getRootNames','createElement','create','model','30APSaDM','pluginName','25129dtmPpH','TrackChangesDataGetter','acceptAllSuggestions','appendChild','function','editorCreator','17946LYHYfv','getRootsAttributes','createDocumentFragment','addSuggestionData','trackChangesData'];_0x3133=function(){return _0x56b63d;};return _0x3133();}const _0x6c53f2=_0x5800;(function(_0x4581b4,_0xab1b69){const _0x3c162f=_0x5800,_0x2d1cd9=_0x4581b4();while(!![]){try{const _0x422c0a=-parseInt(_0x3c162f(0x174))/0x1*(-parseInt(_0x3c162f(0x15e))/0x2)+parseInt(_0x3c162f(0x17c))/0x3+-parseInt(_0x3c162f(0x17f))/0x4*(parseInt(_0x3c162f(0x168))/0x5)+-parseInt(_0x3c162f(0x153))/0x6*(parseInt(_0x3c162f(0x170))/0x7)+-parseInt(_0x3c162f(0x17b))/0x8*(parseInt(_0x3c162f(0x169))/0x9)+-parseInt(_0x3c162f(0x14b))/0xa*(parseInt(_0x3c162f(0x17d))/0xb)+parseInt(_0x3c162f(0x161))/0xc*(parseInt(_0x3c162f(0x14d))/0xd);if(_0x422c0a===_0xab1b69)break;else _0x2d1cd9['push'](_0x2d1cd9['shift']());}catch(_0x2f75e1){_0x2d1cd9['push'](_0x2d1cd9['shift']());}}}(_0x3133,0x650f2));import{Plugin as _0x19f01c}from'ckeditor5/src/core.js';import{CKEditorError as _0x2193b9}from'ckeditor5/src/utils.js';function _0x5800(_0x455039,_0x5e95e1){const _0x3133a7=_0x3133();return _0x5800=function(_0x580046,_0x2634d7){_0x580046=_0x580046-0x144;let _0x154764=_0x3133a7[_0x580046];return _0x154764;},_0x5800(_0x455039,_0x5e95e1);}import _0x4e9d1d from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4997e0}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x6c53f2(0x15b)];export default class P extends _0x19f01c{static get[_0x6c53f2(0x162)](){return[_0x4e9d1d];}static get[_0x6c53f2(0x14c)](){const _0x17dc7d=_0x6c53f2;return _0x17dc7d(0x159);}[_0x6c53f2(0x144)](){const _0x3d5e18=_0x6c53f2,_0x2fc7ad=this[_0x3d5e18(0x180)];if(_0x2fc7ad[_0x3d5e18(0x184)][_0x3d5e18(0x181)](_0x3d5e18(0x16b),_0x353ac4=>{const _0x4e8dca=_0x3d5e18,_0x5e5ca2=_0x2fc7ad[_0x4e8dca(0x14a)][_0x4e8dca(0x16d)][_0x4e8dca(0x147)]()[_0x4e8dca(0x17e)]((_0x1ebe9f,_0xc696dc)=>(_0x1ebe9f[_0xc696dc]='',_0x1ebe9f),{});return _0x2fc7ad[_0x4e8dca(0x167)][_0x4e8dca(0x149)](_0x5e5ca2,_0x353ac4);}),_0x3d5e18(0x151)!=typeof _0x2fc7ad[_0x3d5e18(0x184)][_0x3d5e18(0x166)](_0x3d5e18(0x157))[_0x3d5e18(0x152)])throw new _0x2193b9(_0x3d5e18(0x15f));}[_0x6c53f2(0x16e)](_0x3e439d){const _0x479bd3=_0x6c53f2;return N(this[_0x479bd3(0x180)],!0x0,_0x3e439d);}[_0x6c53f2(0x173)](_0x2d9b5a){const _0x5568f0=_0x6c53f2;return N(this[_0x5568f0(0x180)],!0x1,_0x2d9b5a);}}class D extends _0x19f01c{static get[_0x6c53f2(0x14c)](){const _0x9df0b0=_0x6c53f2;return _0x9df0b0(0x14e);}constructor(_0x576bdc){const _0x523dc7=_0x6c53f2;super(_0x576bdc),this[_0x523dc7(0x176)]=_0x523dc7(0x171);}[_0x6c53f2(0x144)](){const _0x4ad4f8=_0x6c53f2;this[_0x4ad4f8(0x180)][_0x4ad4f8(0x163)][_0x4ad4f8(0x166)](_0x4ad4f8(0x16c))[_0x4ad4f8(0x160)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x4ad4f8(0x180)][_0x4ad4f8(0x163)][_0x4ad4f8(0x166)](_0x4ad4f8(0x15d))[_0x4ad4f8(0x160)]=null;}}function v(_0x1b8a2e){const _0x3d73fb=_0x6c53f2;return void 0x0!==_0x1b8a2e[_0x3d73fb(0x154)];}async function N(_0x55de4e,_0xc9197,_0x29f365){const _0x3f1834=_0x6c53f2,_0x2218aa=_0x4997e0(_0x55de4e,T);_0x2218aa[_0x3f1834(0x163)][_0x3f1834(0x17a)](_0x4e9d1d,D),_0x2218aa[_0x3f1834(0x178)]=v(_0x55de4e)?_0x55de4e[_0x3f1834(0x154)]():void 0x0;const _0x23015a=document[_0x3f1834(0x155)](),_0x3c97bb=_0x55de4e[_0x3f1834(0x184)][_0x3f1834(0x166)](_0x3f1834(0x157))[_0x3f1834(0x152)],_0x491255=await _0x3c97bb(_0x2218aa,()=>function(_0x29dda3){const _0x4e0c73=_0x3f1834,_0x4cdbed=document[_0x4e0c73(0x148)](_0x4e0c73(0x183));return _0x29dda3[_0x4e0c73(0x150)](_0x4cdbed),_0x4cdbed;}(_0x23015a));!function(_0xdc402f,_0x448699){const _0x566ee8=_0x3f1834,_0x8c2ca1=_0xdc402f[_0x566ee8(0x14a)][_0x566ee8(0x16d)][_0x566ee8(0x147)]()[_0x566ee8(0x17e)]((_0x1537a5,_0x5c19ea)=>(_0x1537a5[_0x5c19ea]=_0xdc402f[_0x566ee8(0x16a)][_0x566ee8(0x166)]({'rootName':_0x5c19ea}),_0x1537a5),{}),_0x214ae1=_0xdc402f[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x165))[_0x566ee8(0x158)][_0x566ee8(0x172)](_0x17e7fb=>({'id':_0x17e7fb['id'],'name':_0x17e7fb[_0x566ee8(0x179)]})),_0x4f2764=_0xdc402f[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x15d))[_0x566ee8(0x177)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5c9c8d=_0x448699[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x165)),_0x3b7468=_0x448699[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x15d));for(const _0x120de1 of _0x214ae1)_0x5c9c8d[_0x566ee8(0x182)](_0x120de1['id'])||_0x5c9c8d[_0x566ee8(0x16f)](_0x120de1);_0x5c9c8d['me']||_0x5c9c8d[_0x566ee8(0x15c)]();for(const _0x484fea of _0x4f2764)_0x3b7468[_0x566ee8(0x156)](_0x484fea);_0x448699[_0x566ee8(0x16a)][_0x566ee8(0x164)](_0x8c2ca1);}(_0x55de4e,_0x491255),_0x491255[_0x3f1834(0x15a)](_0xc9197?_0x3f1834(0x14f):_0x3f1834(0x145));const _0x4a2727=v(_0x491255)?_0x491255[_0x3f1834(0x146)](_0x29f365):_0x491255[_0x3f1834(0x16a)][_0x3f1834(0x166)](_0x29f365);return await _0x491255[_0x3f1834(0x175)](),_0x4a2727;}
|