@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240318.0 → 0.0.0-nightly-20240319.1
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/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
|
+
function _0x21ad(){const _0x31659f=['afterInit','insertTemplate','4474476tmKOPl','596763VxpWhg','TrackChangesEditing','plugins','get','424650rcxHWh','1652273eSlHin','219025tcaFfL','3703224qFgCKU','4136805xunVIu','editor','Template','has','enableCommand'];_0x21ad=function(){return _0x31659f;};return _0x21ad();}const _0x2d7d59=_0x1725;function _0x1725(_0x1eaa29,_0x3117ed){const _0x21ad4a=_0x21ad();return _0x1725=function(_0x17252c,_0x153fcf){_0x17252c=_0x17252c-0x15c;let _0x4e8d03=_0x21ad4a[_0x17252c];return _0x4e8d03;},_0x1725(_0x1eaa29,_0x3117ed);}(function(_0x2d6761,_0x5f3c3f){const _0x1babca=_0x1725,_0x4e29a9=_0x2d6761();while(!![]){try{const _0x17061b=parseInt(_0x1babca(0x15d))/0x1+parseInt(_0x1babca(0x161))/0x2+-parseInt(_0x1babca(0x165))/0x3+parseInt(_0x1babca(0x164))/0x4+parseInt(_0x1babca(0x163))/0x5+parseInt(_0x1babca(0x15c))/0x6+-parseInt(_0x1babca(0x162))/0x7;if(_0x17061b===_0x5f3c3f)break;else _0x4e29a9['push'](_0x4e29a9['shift']());}catch(_0x241a02){_0x4e29a9['push'](_0x4e29a9['shift']());}}}(_0x21ad,0xde09f));import{Plugin as _0xe63eb3}from'ckeditor5/src/core.js';export default class vt extends _0xe63eb3{[_0x2d7d59(0x16a)](){const _0x26aeea=_0x2d7d59,_0x4410a9=this[_0x26aeea(0x166)];_0x4410a9[_0x26aeea(0x15f)][_0x26aeea(0x168)](_0x26aeea(0x167))&&_0x4410a9[_0x26aeea(0x15f)][_0x26aeea(0x160)](_0x26aeea(0x15e))[_0x26aeea(0x169)](_0x26aeea(0x16b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3613f0=_0x47f4;(function(_0x27d677,_0x5f2ce1){const _0x292406=_0x47f4,_0x205b83=_0x27d677();while(!![]){try{const _0x4751fc=parseInt(_0x292406(0x148))/0x1+parseInt(_0x292406(0x11e))/0x2*(-parseInt(_0x292406(0x122))/0x3)+parseInt(_0x292406(0x12b))/0x4+parseInt(_0x292406(0x11f))/0x5+-parseInt(_0x292406(0x121))/0x6*(-parseInt(_0x292406(0x147))/0x7)+-parseInt(_0x292406(0x12a))/0x8+-parseInt(_0x292406(0x12c))/0x9*(parseInt(_0x292406(0x142))/0xa);if(_0x4751fc===_0x5f2ce1)break;else _0x205b83['push'](_0x205b83['shift']());}catch(_0x6b2103){_0x205b83['push'](_0x205b83['shift']());}}}(_0x2ea1,0x9f5ef));import{Plugin as _0x1f4a4d}from'ckeditor5/src/core.js';function _0x47f4(_0x218687,_0x12a402){const _0x2ea190=_0x2ea1();return _0x47f4=function(_0x47f48b,_0x5468d1){_0x47f48b=_0x47f48b-0x11e;let _0x4deb6b=_0x2ea190[_0x47f48b];return _0x4deb6b;},_0x47f4(_0x218687,_0x12a402);}import{getTranslation as _0x39b8d4}from'../utils/common-translations.js';export default class Ct extends _0x1f4a4d{[_0x3613f0(0x149)](){const _0x24c5e5=_0x3613f0,_0x265cbe=this[_0x24c5e5(0x125)];if(!_0x265cbe[_0x24c5e5(0x132)][_0x24c5e5(0x13a)](_0x24c5e5(0x146)))return;const _0x1bd114=_0x265cbe[_0x24c5e5(0x132)][_0x24c5e5(0x13c)](_0x24c5e5(0x13d));_0x1bd114[_0x24c5e5(0x12f)][_0x24c5e5(0x145)](_0x24c5e5(0x143),()=>_0x39b8d4(_0x265cbe[_0x24c5e5(0x123)],_0x24c5e5(0x129))),_0x265cbe[_0x24c5e5(0x13e)][_0x24c5e5(0x130)][_0x24c5e5(0x138)](_0x1758e1=>{const _0x3e642b=_0x24c5e5;let _0x3a02c7=!0x1;const _0x460c19=Array[_0x3e642b(0x133)](_0x265cbe[_0x3e642b(0x13e)][_0x3e642b(0x130)][_0x3e642b(0x131)][_0x3e642b(0x128)]());for(const {name:_0x186c5f,data:_0x2508ed}of _0x460c19){const {group:_0x1eb83d}=_0x1bd114[_0x3e642b(0x136)](_0x186c5f);if(_0x3e642b(0x144)!==_0x1eb83d||!_0x2508ed[_0x3e642b(0x12d)])continue;const _0x1a4259=_0x2508ed[_0x3e642b(0x12d)],_0x56afa1=_0x1a4259[_0x3e642b(0x135)][_0x3e642b(0x13b)];if(!_0x56afa1||!_0x56afa1['is'](_0x3e642b(0x141),_0x3e642b(0x143)))continue;if(!_0x1a4259[_0x3e642b(0x120)][_0x3e642b(0x139)](_0x1a4259[_0x3e642b(0x135)]))continue;const _0x5d6c07=_0x265cbe[_0x3e642b(0x13e)][_0x3e642b(0x13f)][_0x3e642b(0x124)](_0x1a4259[_0x3e642b(0x135)],_0x3e642b(0x140));if(_0x5d6c07&&_0x5d6c07[_0x3e642b(0x126)]){const _0x1addac=_0x1758e1[_0x3e642b(0x137)](_0x1a4259[_0x3e642b(0x120)],_0x5d6c07[_0x3e642b(0x120)]);_0x1addac[_0x3e642b(0x134)](_0x1a4259)||(_0x1758e1[_0x3e642b(0x12e)](_0x186c5f,{'range':_0x1addac}),_0x3a02c7=!0x0);}_0x3a02c7||(_0x1758e1[_0x3e642b(0x127)](_0x186c5f),_0x3a02c7=!0x0);}return _0x3a02c7;});}}function _0x2ea1(){const _0x3e54c1=['isCollapsed','removeMarker','getChangedMarkers','ELEMENT_TITLE','5454664NgNIje','1413748mbLjJp','27mujQLL','newRange','updateMarker','_descriptionFactory','document','differ','plugins','from','isEqual','end','_splitMarkerName','createRange','registerPostFixer','isTouching','has','nodeBefore','get','TrackChangesEditing','model','schema','forward','element','4366490HKemCt','title-content','suggestion','registerElementLabel','Title','7638981PIXjJt','672307xUALTs','afterInit','26iCILpV','4240060XQWOzR','start','6hbZvdn','73956tLPUdk','locale','getNearestSelectionRange','editor'];_0x2ea1=function(){return _0x3e54c1;};return _0x2ea1();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x338f(_0x1d2374,_0x54d76c){const _0x4ae4dd=_0x4ae4();return _0x338f=function(_0x338f40,_0x2813eb){_0x338f40=_0x338f40-0x196;let _0x47f54f=_0x4ae4dd[_0x338f40];return _0x47f54f;},_0x338f(_0x1d2374,_0x54d76c);}const _0xd3ab8d=_0x338f;function _0x4ae4(){const _0x232429=['editor','1757278fwGbpg','afterInit','UndoEditing','525943OHybpU','9HrFMJC','has','3639117axUWkh','undo','enableCommand','redo','plugins','1549784JyXRpz','355vKjGdu','4xEguJq','56586mtLwbr','1237204BuhdMX','get','250ujuWno','713860ehicUr','TrackChangesEditing'];_0x4ae4=function(){return _0x232429;};return _0x4ae4();}(function(_0x54408a,_0x597885){const _0x45c6ad=_0x338f,_0x584133=_0x54408a();while(!![]){try{const _0x58b1bd=-parseInt(_0x45c6ad(0x1a0))/0x1+-parseInt(_0x45c6ad(0x1a6))/0x2+parseInt(_0x45c6ad(0x197))/0x3*(parseInt(_0x45c6ad(0x19e))/0x4)+-parseInt(_0x45c6ad(0x19d))/0x5*(-parseInt(_0x45c6ad(0x19f))/0x6)+parseInt(_0x45c6ad(0x1a3))/0x7+parseInt(_0x45c6ad(0x19c))/0x8*(-parseInt(_0x45c6ad(0x1aa))/0x9)+-parseInt(_0x45c6ad(0x1a2))/0xa*(-parseInt(_0x45c6ad(0x1a9))/0xb);if(_0x58b1bd===_0x597885)break;else _0x584133['push'](_0x584133['shift']());}catch(_0x51aa37){_0x584133['push'](_0x584133['shift']());}}}(_0x4ae4,0xd47eb));import{Plugin as _0x598e5f}from'ckeditor5/src/core.js';export default class Dt extends _0x598e5f{[_0xd3ab8d(0x1a7)](){const _0x306594=_0xd3ab8d,_0x5853e1=this[_0x306594(0x1a5)],_0x1c1b1a=_0x5853e1[_0x306594(0x19b)][_0x306594(0x1a1)](_0x306594(0x1a4));_0x5853e1[_0x306594(0x19b)][_0x306594(0x196)](_0x306594(0x1a8))&&(_0x1c1b1a[_0x306594(0x199)](_0x306594(0x198)),_0x1c1b1a[_0x306594(0x199)](_0x306594(0x19a)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5c7f(){const _0x47a5f4=['activeMarkers','mapper','name','consumable','88mupCJf','nextSibling','addHighlight','plugins','13740hQFSnZ','includes','listItem','getCustomProperty','type','isContent','toViewPosition','item','getItems','markerName','span','6032853JhyuQI','push','getAttribute','model','createUIElement','element','test','ck-suggestion-marker--active','writer','insert','parent','toViewElement','isAtEnd','1239915PAespV','elementEnd','isLimit','1780098QsXDZC','addClass','TrackChangesEditing','markerRange','216SYIXaa','schema','ck-suggestion-marker-','bindElementToMarker','get','getWalker','68971HsmzsV','createRangeOn','listIndent','338994DemZfg','53103FpicnX','previousPosition','hasAttribute','isBlock','start'];_0x5c7f=function(){return _0x47a5f4;};return _0x5c7f();}(function(_0x18deb1,_0x4f2467){const _0x33af29=_0x1cb9,_0x3e2fe3=_0x18deb1();while(!![]){try{const _0x1a007b=-parseInt(_0x33af29(0x10b))/0x1+-parseInt(_0x33af29(0x10a))/0x2+-parseInt(_0x33af29(0x118))/0x3*(-parseInt(_0x33af29(0x114))/0x4)+-parseInt(_0x33af29(0xfa))/0x5+-parseInt(_0x33af29(0xfd))/0x6+-parseInt(_0x33af29(0x107))/0x7*(-parseInt(_0x33af29(0x101))/0x8)+parseInt(_0x33af29(0x123))/0x9;if(_0x1a007b===_0x4f2467)break;else _0x3e2fe3['push'](_0x3e2fe3['shift']());}catch(_0x46c595){_0x3e2fe3['push'](_0x3e2fe3['shift']());}}}(_0x5c7f,0x41e12));export function getRangesWithAttribute(_0xe53e88,_0x4eec09,_0x27b8d7){const _0x497f04=_0x1cb9,_0x47283d=[];for(const _0x404938 of _0x4eec09[_0x497f04(0x120)]())_0x404938[_0x497f04(0x10d)](_0xe53e88)&&_0x47283d[_0x497f04(0x124)](_0x27b8d7[_0x497f04(0x108)](_0x404938));return _0x47283d;}function _0x1cb9(_0x2ef7e4,_0x22d585){const _0x5c7fca=_0x5c7f();return _0x1cb9=function(_0x1cb981,_0x46fac9){_0x1cb981=_0x1cb981-0xfa;let _0x53d0fb=_0x5c7fca[_0x1cb981];return _0x53d0fb;},_0x1cb9(_0x2ef7e4,_0x22d585);}export function getElementsAffectedByListItemRename(_0x56cdb3){const _0x1ad7f5=_0x1cb9,_0x2fcbd4=[];if(_0x56cdb3['is'](_0x1ad7f5(0x128),_0x1ad7f5(0x11a))){let _0x51b7c7=_0x56cdb3[_0x1ad7f5(0x115)];for(;_0x51b7c7&&_0x51b7c7['is'](_0x1ad7f5(0x128),_0x1ad7f5(0x11a))&&_0x51b7c7[_0x1ad7f5(0x125)](_0x1ad7f5(0x109))>0x0;)_0x2fcbd4[_0x1ad7f5(0x124)](_0x51b7c7),_0x51b7c7=_0x51b7c7[_0x1ad7f5(0x115)];}return _0x2fcbd4;}export function downcastSplitMergeMarker(_0x558805,_0x1b5217,{showActiveMarker:_0x161493=!0x0}={}){const _0x495b09=_0x1cb9,_0x4ee95e=_0x558805[_0x495b09(0x117)][_0x495b09(0x105)](_0x495b09(0xff));return(_0x320037,_0x208277,_0x4a7967)=>{const _0x55b039=_0x495b09;if(!_0x4a7967[_0x55b039(0x113)][_0x55b039(0x129)](_0x208277[_0x55b039(0x100)],_0x320037[_0x55b039(0x112)]))return;const _0xd587c3=_0x208277[_0x55b039(0x100)][_0x55b039(0x106)](),_0x337e3d=_0x208277[_0x55b039(0x100)][_0x55b039(0x10f)],_0x452712=_0x558805[_0x55b039(0x126)][_0x55b039(0x102)];let _0x3c7f6c=null,_0x3c7c50=null,_0x2e14b7=!0x1,_0x25777b=!0x1;for(const _0x38a75d of _0xd587c3){const _0x492f15=_0x38a75d[_0x55b039(0x11f)];_0x2e14b7=_0x2e14b7||_0x452712[_0x55b039(0x11d)](_0x492f15);const _0x22e3e7=_0x4a7967[_0x55b039(0x111)][_0x55b039(0x12e)](_0x492f15);if(_0x22e3e7&&_0x22e3e7[_0x55b039(0x11b)](_0x55b039(0x116)))return;_0x55b039(0xfb)==_0x38a75d[_0x55b039(0x11c)]&&(_0x452712[_0x55b039(0x10e)](_0x492f15)&&!_0x452712[_0x55b039(0xfc)](_0x492f15)&&(_0x492f15[_0x55b039(0x115)]||_0x337e3d[_0x55b039(0x12f)]?_0x3c7f6c&&_0x3c7f6c[_0x55b039(0x12d)]==_0x492f15||(_0x3c7f6c=_0x492f15,_0x5b1f57(_0x38a75d[_0x55b039(0x10c)]),_0x25777b=!0x0):_0x3c7c50=_0x3c7c50||_0x38a75d[_0x55b039(0x10c)]));}function _0x5b1f57(_0x2ae8a9){const _0x2d41d0=_0x55b039,_0x307c64=_0x4a7967[_0x2d41d0(0x12b)][_0x2d41d0(0x127)](_0x2d41d0(0x122),{'class':_0x2d41d0(0x103)+_0x1b5217}),_0x5a7426=_0x4a7967[_0x2d41d0(0x111)][_0x2d41d0(0x11e)](_0x2ae8a9);_0x161493&&_0x4ee95e[_0x2d41d0(0x110)][_0x2d41d0(0x119)](_0x208277[_0x2d41d0(0x121)])&&_0x4a7967[_0x2d41d0(0x12b)][_0x2d41d0(0xfe)](_0x2d41d0(0x12a),_0x307c64),_0x4a7967[_0x2d41d0(0x12b)][_0x2d41d0(0x12c)](_0x5a7426,_0x307c64),_0x4a7967[_0x2d41d0(0x111)][_0x2d41d0(0x104)](_0x307c64,_0x208277[_0x2d41d0(0x121)]);}_0x2e14b7||_0x25777b||!_0x3c7c50||_0x5b1f57(_0x3c7c50);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37b273=_0xfd51;function _0xfd51(_0x3f9305,_0x59685b){const _0x10ea11=_0x10ea();return _0xfd51=function(_0xfd51cc,_0x1307fb){_0xfd51cc=_0xfd51cc-0x14d;let _0x173594=_0x10ea11[_0xfd51cc];return _0x173594;},_0xfd51(_0x3f9305,_0x59685b);}(function(_0x25043a,_0x2faec4){const _0x33b544=_0xfd51,_0x1c696d=_0x25043a();while(!![]){try{const _0x5b1c2a=parseInt(_0x33b544(0x14e))/0x1*(parseInt(_0x33b544(0x160))/0x2)+parseInt(_0x33b544(0x15e))/0x3*(parseInt(_0x33b544(0x168))/0x4)+parseInt(_0x33b544(0x199))/0x5+parseInt(_0x33b544(0x189))/0x6*(-parseInt(_0x33b544(0x165))/0x7)+parseInt(_0x33b544(0x184))/0x8+-parseInt(_0x33b544(0x173))/0x9*(-parseInt(_0x33b544(0x183))/0xa)+-parseInt(_0x33b544(0x187))/0xb;if(_0x5b1c2a===_0x2faec4)break;else _0x1c696d['push'](_0x1c696d['shift']());}catch(_0x4d72c8){_0x1c696d['push'](_0x1c696d['shift']());}}}(_0x10ea,0x641d9));import{Element as _0x36c390}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x52a675,uid as _0x30434a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x571b6f,isEqual as _0x2d8049,set as _0x544913,unset as _0x3e3c30}from'lodash-es';export default class u extends _0x52a675(){constructor(_0x1ca1da,_0x5e3634){const _0x5f2910=_0xfd51;super(),this[_0x5f2910(0x152)]=!0x1,this['id']=_0x5e3634['id'],this[_0x5f2910(0x150)]=_0x5e3634[_0x5f2910(0x150)],this[_0x5f2910(0x180)]=_0x5e3634[_0x5f2910(0x180)]||null,this[_0x5f2910(0x14d)]=_0x5e3634[_0x5f2910(0x14d)],this[_0x5f2910(0x192)]=_0x5e3634[_0x5f2910(0x192)]||_0x5e3634[_0x5f2910(0x14d)],this[_0x5f2910(0x16a)]=Boolean(_0x5e3634[_0x5f2910(0x188)]&&_0x5e3634[_0x5f2910(0x188)][_0x5f2910(0x153)]),this[_0x5f2910(0x162)]=null,this[_0x5f2910(0x17b)]=_0x1ca1da,this[_0x5f2910(0x19a)]=_0x5e3634[_0x5f2910(0x163)],this[_0x5f2910(0x191)]=_0x5e3634[_0x5f2910(0x17d)],this[_0x5f2910(0x19c)]=_0x5e3634[_0x5f2910(0x177)],this[_0x5f2910(0x18a)]=new Set(),this[_0x5f2910(0x196)]=null,this[_0x5f2910(0x16d)](_0x5f2910(0x154),null),this[_0x5f2910(0x16d)](_0x5f2910(0x188),_0x5e3634[_0x5f2910(0x188)]||{}),this[_0x5f2910(0x16d)](_0x5f2910(0x186),null),this[_0x5f2910(0x16d)](_0x5f2910(0x170),null),this[_0x5f2910(0x16d)](_0x5f2910(0x181),null),this[_0x5f2910(0x16d)](_0x5f2910(0x15f),!0x1),this[_0x5f2910(0x158)](_0x5f2910(0x175)),this[_0x5f2910(0x158)](_0x5f2910(0x15c));}get[_0x37b273(0x151)](){const _0x3b9362=_0x37b273;let _0x32dfb0=this;for(;_0x32dfb0[_0x3b9362(0x186)];)_0x32dfb0=_0x32dfb0[_0x3b9362(0x186)];return _0x32dfb0;}get[_0x37b273(0x156)](){const _0x53f43c=_0x37b273;return!!this[_0x53f43c(0x181)]&&this[_0x53f43c(0x181)][_0x53f43c(0x178)]>0x0;}get[_0x37b273(0x16b)](){const _0x61f74b=_0x37b273;if(0x0==this[_0x61f74b(0x18a)][_0x61f74b(0x176)])return!0x1;return 0x6==Array[_0x61f74b(0x194)](this[_0x61f74b(0x18a)])[0x0][_0x61f74b(0x15b)](':')[_0x61f74b(0x178)];}get[_0x37b273(0x174)](){const _0x5188f1=_0x37b273;return null!==this[_0x5188f1(0x197)]();}[_0x37b273(0x18d)](_0x1a2d2f){const _0x25a397=_0x37b273;this[_0x25a397(0x18a)][_0x25a397(0x16e)](_0x1a2d2f);}[_0x37b273(0x14f)](){const _0x4b468b=_0x37b273;return Array[_0x4b468b(0x194)](this[_0x4b468b(0x18a)]);}[_0x37b273(0x15a)](){const _0x34ddc5=_0x37b273;return this[_0x34ddc5(0x14f)]()[_0x34ddc5(0x195)](_0x5f3cb9=>this[_0x34ddc5(0x17b)][_0x34ddc5(0x190)][_0x34ddc5(0x198)](_0x5f3cb9))[_0x34ddc5(0x185)](_0xd992fb=>_0xd992fb);}[_0x37b273(0x197)](){const _0x2f1f1e=_0x37b273;return this[_0x2f1f1e(0x15a)]()[0x0]||null;}[_0x37b273(0x17c)](){const _0x3913aa=_0x37b273;this[_0x3913aa(0x17b)][_0x3913aa(0x159)](_0x2abce6=>{const _0x634cbb=_0x3913aa;for(const _0x4790c4 of this[_0x634cbb(0x15a)]())_0x2abce6[_0x634cbb(0x17f)](_0x4790c4);}),this[_0x3913aa(0x18a)][_0x3913aa(0x18e)]();}[_0x37b273(0x17f)](_0x4ec59e){const _0xdb1dd3=_0x37b273;this[_0xdb1dd3(0x17b)][_0xdb1dd3(0x159)](_0x3da8c6=>{const _0x49dad6=_0xdb1dd3;_0x3da8c6[_0x49dad6(0x17f)](_0x4ec59e);}),this[_0xdb1dd3(0x18a)][_0xdb1dd3(0x19d)](_0x4ec59e);}[_0x37b273(0x193)](_0x2db30f){const _0x1038ea=_0x37b273,_0x3e41da=_0x1038ea(0x15d)+this[_0x1038ea(0x150)]+':'+this[_0x1038ea(0x180)]+':'+this['id']+':'+this[_0x1038ea(0x192)]['id']+':'+u[_0x1038ea(0x18f)]();this[_0x1038ea(0x18d)](_0x3e41da),this[_0x1038ea(0x17b)][_0x1038ea(0x159)](_0x420954=>{const _0x27bcda=_0x1038ea;_0x420954[_0x27bcda(0x18c)](_0x3e41da,{'range':_0x2db30f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x37b273(0x172)](_0x35796f){const _0x495b48=_0x37b273;for(const _0x45d44f of this[_0x495b48(0x169)]())if(_0x45d44f[_0x495b48(0x19e)](_0x35796f))return!0x0;return!0x1;}[_0x37b273(0x169)](){const _0x2dd293=_0x37b273;return this[_0x2dd293(0x15a)]()[_0x2dd293(0x195)](_0x3e75c5=>_0x3e75c5[_0x2dd293(0x157)]());}[_0x37b273(0x161)](){const _0x325e87=_0x37b273;return this[_0x325e87(0x169)]()[_0x325e87(0x167)]((_0x512d79,_0x43ee2a)=>[..._0x512d79,..._0x43ee2a[_0x325e87(0x161)]()],[]);}[_0x37b273(0x166)](){const _0xf164dd=_0x37b273;var _0x15e1f7;return(null===(_0x15e1f7=this[_0xf164dd(0x197)]())||void 0x0===_0x15e1f7?void 0x0:_0x15e1f7[_0xf164dd(0x157)]())||null;}[_0x37b273(0x164)](){const _0x93c5ea=_0x37b273,_0x8ee41d=this[_0x93c5ea(0x169)]();if(0x1!=_0x8ee41d[_0x93c5ea(0x178)])return null;const _0x2c2e60=_0x8ee41d[0x0],_0x2273ad=_0x2c2e60[_0x93c5ea(0x16c)][_0x93c5ea(0x19b)],_0x11df45=_0x2c2e60[_0x93c5ea(0x171)][_0x93c5ea(0x155)];return _0x2273ad instanceof _0x36c390?_0x2273ad!=_0x11df45?null:_0x2273ad:null;}[_0x37b273(0x175)](){const _0x582bb1=_0x37b273;this[_0x582bb1(0x19a)](this[_0x582bb1(0x169)](),this[_0x582bb1(0x162)],this[_0x582bb1(0x188)]),this[_0x582bb1(0x17c)]();}[_0x37b273(0x15c)](){const _0x426b78=_0x37b273;this[_0x426b78(0x191)](this[_0x426b78(0x169)](),this[_0x426b78(0x162)],this[_0x426b78(0x188)]),this[_0x426b78(0x17c)]();}[_0x37b273(0x182)](){const _0x101437=_0x37b273,_0x13f5d1=[];let _0x2821b4=this[_0x101437(0x151)];for(;_0x2821b4;)_0x13f5d1[_0x101437(0x16f)](_0x2821b4),_0x2821b4=_0x2821b4[_0x101437(0x170)];return _0x13f5d1;}[_0x37b273(0x17a)](_0x341bb8,_0x28d887){const _0x2bf28d=_0x37b273,_0x340d80=_0x571b6f(this[_0x2bf28d(0x188)]);_0x544913(_0x340d80,_0x341bb8,_0x28d887),_0x2d8049(_0x340d80,this[_0x2bf28d(0x188)])||(this[_0x2bf28d(0x188)]=_0x340d80,this[_0x2bf28d(0x19c)](_0x340d80));}[_0x37b273(0x18b)](_0x73cf2a){const _0x58e903=_0x37b273,_0x15b05b=_0x571b6f(this[_0x58e903(0x188)]);_0x3e3c30(_0x15b05b,_0x73cf2a),_0x2d8049(_0x15b05b,this[_0x58e903(0x188)])||(this[_0x58e903(0x188)]=_0x15b05b,this[_0x58e903(0x19c)](this[_0x58e903(0x188)]));}[_0x37b273(0x17e)](){const _0x3ecb5d=_0x37b273;return{'id':this['id'],'type':this[_0x3ecb5d(0x180)]?this[_0x3ecb5d(0x150)]+':'+this[_0x3ecb5d(0x180)]:this[_0x3ecb5d(0x150)],'authorId':this[_0x3ecb5d(0x192)]['id'],'createdAt':this[_0x3ecb5d(0x196)],'hasComments':this[_0x3ecb5d(0x156)],'data':this[_0x3ecb5d(0x162)],'attributes':this[_0x3ecb5d(0x188)]};}static[_0x37b273(0x18f)](){const _0x5eaf6b=_0x37b273;return _0x30434a()[_0x5eaf6b(0x179)](0x1,0x5);}}function _0x10ea(){const _0x54e641=['data','onAccept','getContainedElement','181342YKBmOa','getFirstRange','reduce','43240exubZj','getRanges','isExternal','isMultiRange','start','set','add','push','next','end','isIntersectingWithRange','236403RYSNTU','isInContent','accept','size','onAttributesChange','length','substr','setAttribute','_model','removeMarkers','onDiscard','toJSON','removeMarker','subType','commentThread','getAllAdjacentSuggestions','80GvFlpX','5998600EqSBXr','filter','previous','16219225LHoxUT','attributes','6khxzvB','_markerNames','removeAttribute','addMarker','addMarkerName','clear','getMultiRangeId','markers','_onDiscard','creator','addRange','from','map','createdAt','getFirstMarker','get','1079205BMyvJF','_onAccept','nodeAfter','_onAttributesChange','delete','isIntersecting','author','8mJuGHJ','getMarkerNames','type','head','_isDataLoaded','@external','authoredAt','nodeBefore','hasComments','getRange','decorate','change','getMarkers','split','discard','suggestion:','114zoGqOo','_saved','80968CayJXL','getItems'];_0x10ea=function(){return _0x54e641;};return _0x10ea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a06e0=_0x1ef4;(function(_0x1c2fff,_0x265d18){const _0x277559=_0x1ef4,_0x346067=_0x1c2fff();while(!![]){try{const _0x3a0488=-parseInt(_0x277559(0x104))/0x1+parseInt(_0x277559(0xce))/0x2*(-parseInt(_0x277559(0xf3))/0x3)+parseInt(_0x277559(0xfb))/0x4+parseInt(_0x277559(0xf5))/0x5+parseInt(_0x277559(0x103))/0x6+-parseInt(_0x277559(0xee))/0x7*(parseInt(_0x277559(0xdf))/0x8)+-parseInt(_0x277559(0xf0))/0x9;if(_0x3a0488===_0x265d18)break;else _0x346067['push'](_0x346067['shift']());}catch(_0x589913){_0x346067['push'](_0x346067['shift']());}}}(_0x2121,0xc0fe9));function _0x2121(){const _0x42cd79=['1328229GeEVPb','set','quantity','Object','text','_handleCustomCallbackDescription','newValue','addFormat','removeFormat','element','softBreak','elementEnd','deletion','addObject','*Change\x20to:*\x20%0','removeContainer','_handleRenameSuggestionDescription','_attributeLabels','checkChild','has','*Set\x20format:*\x20%0','label','_schema','_itemLabels','registerElementLabel','elementStart','length','*Remove\x20format:*\x20%0','key','_handleAttributeSuggestionDescription','end','registerAttributeLabel','name','*Remove:*\x20%0','subType','format','addEmptyContainer','isEmpty','function','attribute','removeObject','isInContent','2nvVpzK','Container','*Merge:*\x20%0','removeEmptyContainer','start','type','push','$text','REPLACE_TEXT','previousSibling','registerDescriptionCallback','addContainer','getWalker','matchingCallback','replace','_addDescriptionItems','isEqual','16HgDDCj','$textProxy','item','skip','_resolveDescriptionItems','data','indexOf','_itemLabelsCallbacks','getItemLabel','join','remove','_locale','get','isObject','map','122269iwJQgs','*Insert:*\x20%0','8918415KmUSjU','match','_handleInsertRemoveSuggestionDescription','1958622ZMHYdB','_customCallbacks','6881820UakfVK','ELEMENT_SPACE','getFirstRange','normal','add','*Split:*\x20%0','5629472feStMF','pop','EmptyContainer','nodeAfter','insertion','nextSibling','getDescriptions','$1\x20$2','6082470yVGvMI'];_0x2121=function(){return _0x42cd79;};return _0x2121();}import{getTranslation as _0x2752a6}from'./utils/common-translations.js';import{priorities as _0x2bc854,insertToPriorityArray as _0x139dc0}from'ckeditor5/src/utils.js';function _0x1ef4(_0x19b603,_0x102546){const _0x2121f2=_0x2121();return _0x1ef4=function(_0x1ef408,_0x37682b){_0x1ef408=_0x1ef408-0xce;let _0x3cffa7=_0x2121f2[_0x1ef408];return _0x3cffa7;},_0x1ef4(_0x19b603,_0x102546);}import{renameAttributeKey as _0x199b95}from'./trackchangesediting.js';export default class f{constructor(_0x3a9d0c,_0x5a9bb4){const _0x1c7a15=_0x1ef4;this[_0x1c7a15(0xf4)]=[],this[_0x1c7a15(0x11b)]=new Map(),this[_0x1c7a15(0xe6)]=[],this[_0x1c7a15(0x115)]=new Map(),this[_0x1c7a15(0x11a)]=_0x3a9d0c,this[_0x1c7a15(0xea)]=_0x5a9bb4;}[_0x2a06e0(0x101)](_0x1d4aa8){const _0x200e0e=_0x2a06e0,_0x1a1511=[],_0x40b9de=new Set(),_0xfddfab=new Set();for(let _0x578431=0x0;_0x578431<_0x1d4aa8[_0x200e0e(0x11e)];_0x578431++){const _0x20ead9=_0x1d4aa8[_0x578431];if(!_0x20ead9[_0x200e0e(0x12d)])continue;const _0x3df64a=this[_0x200e0e(0x109)](_0x20ead9);if(_0x3df64a){if(null!=_0x20ead9[_0x200e0e(0x126)]){if(_0x40b9de[_0x200e0e(0x117)](_0x20ead9[_0x200e0e(0x126)]))continue;_0x40b9de[_0x200e0e(0xf9)](_0x20ead9[_0x200e0e(0x126)]);}_0x1a1511[_0x200e0e(0xd4)](_0x3df64a);}else{if(_0x200e0e(0x12b)!=_0x20ead9[_0x200e0e(0xd3)])_0x200e0e(0xff)!=_0x20ead9[_0x200e0e(0xd3)]&&_0x200e0e(0x110)!=_0x20ead9[_0x200e0e(0xd3)]||this[_0x200e0e(0xf2)](_0x1a1511,_0x20ead9,_0x1d4aa8[_0x578431+0x1]);else{const _0x1ecabb=_0x20ead9[_0x200e0e(0xe4)][_0x200e0e(0x120)];if(_0xfddfab[_0x200e0e(0x117)](_0x1ecabb))continue;_0xfddfab[_0x200e0e(0xf9)](_0x20ead9[_0x200e0e(0xe4)][_0x200e0e(0x120)]),_0x1ecabb==_0x199b95?this[_0x200e0e(0x114)](_0x1a1511,_0x20ead9):this[_0x200e0e(0x121)](_0x1a1511,_0x20ead9);}}}return this[_0x200e0e(0xe3)](_0x1a1511);}[_0x2a06e0(0xd8)](_0x227158){const _0x511c8c=_0x2a06e0;this[_0x511c8c(0xf4)][_0x511c8c(0xd4)](_0x227158);}[_0x2a06e0(0x11c)](_0x384855,_0x155e5b,_0x2ecc7c=_0x2bc854[_0x2a06e0(0xf8)]){const _0x164e61=_0x2a06e0;_0x164e61(0x12a)==typeof _0x384855?_0x139dc0(this[_0x164e61(0xe6)],{'matchingCallback':_0x384855,'label':_0x155e5b,'priority':_0x2ecc7c}):this[_0x164e61(0x11b)][_0x164e61(0x105)](_0x384855,_0x155e5b);}[_0x2a06e0(0x123)](_0x541b53,_0x4c5a75){const _0x481a0f=_0x2a06e0;this[_0x481a0f(0x115)][_0x481a0f(0x105)](_0x541b53,_0x4c5a75);}[_0x2a06e0(0xe7)](_0xd354e7,_0x207c02=0x1){const _0x2f4969=_0x2a06e0;let _0x308667;for(const _0x26eafc of this[_0x2f4969(0xe6)])if(_0x26eafc[_0x2f4969(0xdb)](_0xd354e7)){_0x308667=_0x26eafc[_0x2f4969(0x119)];break;}return _0x308667||(_0x308667=this[_0x2f4969(0x11b)][_0x2f4969(0xeb)](_0xd354e7[_0x2f4969(0x124)])),_0x308667?_0x308667(_0x207c02):0x1!==_0x207c02?_0x207c02+'\x20'+_0xd354e7[_0x2f4969(0x124)]+'s':''+_0xd354e7[_0x2f4969(0x124)];}[_0x2a06e0(0xdd)](_0xc601d9,_0x5735b3){const _0x5773f=_0x2a06e0,_0x4e2971=_0x5735b3[_0x5773f(0xf7)]()[_0x5773f(0xda)](),_0x2f23fe=_0x5773f(0xff)==_0x5735b3[_0x5773f(0xd3)]?_0x5773f(0xf9):_0x5773f(0xe9);for(const _0x38de1d of _0x4e2971){const _0x28d288=_0x38de1d[_0x5773f(0xe1)],_0x38a63c=_0xc601d9[_0xc601d9[_0x5773f(0x11e)]-0x1];if(_0x28d288['is'](_0x5773f(0xe0)))_0x38a63c&&_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))>-0x1&&_0xc601d9[_0x5773f(0xfc)](),_0x38a63c&&_0x5773f(0x108)==_0x38a63c[_0x5773f(0xd3)]?_0x38a63c[_0x2f23fe]+=_0x28d288[_0x5773f(0xe4)]:_0xc601d9[_0x5773f(0xd4)]({'type':_0x5773f(0x108),'add':_0x5773f(0xf9)==_0x2f23fe?_0x28d288[_0x5773f(0xe4)]:'','remove':_0x5773f(0xe9)==_0x2f23fe?_0x28d288[_0x5773f(0xe4)]:''});else{if(this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x28d288)){const _0x1f4578=_0x28d288;if(_0x38a63c&&_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))>-0x1&&_0xc601d9[_0x5773f(0xfc)](),_0x5773f(0x10f)==_0x38de1d[_0x5773f(0xd3)])continue;_0x38a63c&&_0x38a63c[_0x5773f(0xd3)]==_0x2f23fe+_0x5773f(0x107)&&_0x38a63c[_0x5773f(0x10d)][_0x5773f(0x124)]==_0x1f4578[_0x5773f(0x124)]?_0x38a63c[_0x5773f(0x106)]++:_0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0x107),'element':_0x1f4578,'quantity':0x1}),_0x4e2971[_0x5773f(0xe2)](_0x2195e5=>!(_0x5773f(0x10f)==_0x2195e5[_0x5773f(0xd3)]&&_0x2195e5[_0x5773f(0xe1)]==_0x28d288));}else{if(this[_0x5773f(0x11a)][_0x5773f(0x116)](_0x28d288,_0x5773f(0xd5))||_0x28d288['is'](_0x5773f(0x10d),_0x5773f(0x10e))){const _0x13a50e=_0x28d288;if(_0x5773f(0xf9)==_0x2f23fe&&_0x5773f(0x11d)==_0x38de1d[_0x5773f(0xd3)]||_0x5773f(0xe9)==_0x2f23fe&&_0x5773f(0x10f)==_0x38de1d[_0x5773f(0xd3)])continue;if(_0x38a63c&&-0x1==_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))){_0x5773f(0x108)==_0x38a63c[_0x5773f(0xd3)]&&(_0x38a63c[_0x2f23fe]+='\x0a');continue;}let _0x13013b;if(_0x13013b=_0x5773f(0xf9)==_0x2f23fe?_0x13a50e[_0x5773f(0x100)]&&!this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x13a50e[_0x5773f(0x100)])?_0x13a50e[_0x5773f(0x100)]:null:_0x13a50e[_0x5773f(0xd7)]&&!this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x13a50e[_0x5773f(0xd7)])?_0x13a50e[_0x5773f(0xd7)]:null,_0x13a50e[_0x5773f(0x129)]||_0x13013b&&_0x13013b[_0x5773f(0x129)]){const _0x11412c=_0x13013b&&_0x13013b[_0x5773f(0x129)]?_0x13013b:_0x13a50e;_0x38a63c&&_0x38a63c[_0x5773f(0xd3)]==_0x2f23fe+_0x5773f(0xfd)&&_0x38a63c[_0x5773f(0x10d)][_0x5773f(0x124)]==_0x11412c[_0x5773f(0x124)]?_0x38a63c[_0x5773f(0x106)]++:_0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0xfd),'element':_0x11412c,'quantity':0x1});}else _0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0xcf),'element':_0x13a50e});}}}}}[_0x2a06e0(0xe3)](_0x55228b){const _0x4699bb=_0x2a06e0,_0x4fef45=this[_0x4699bb(0xea)],_0x217d97=[],_0x2a4d54=[],_0x571a34=[];for(const _0x37748 of _0x55228b)switch(_0x37748[_0x4699bb(0xd3)]){case _0x4699bb(0x108):if(_0x37748[_0x4699bb(0xf9)]=_0x37748[_0x4699bb(0xf9)][_0x4699bb(0xdc)](/(\S)\u000A+(\S)/g,_0x4699bb(0x102))[_0x4699bb(0xdc)](/\u000A/g,''),_0x37748[_0x4699bb(0xe9)]=_0x37748[_0x4699bb(0xe9)][_0x4699bb(0xdc)](/(\S)\u000A+(\S)/g,_0x4699bb(0x102))[_0x4699bb(0xdc)](/\u000A/g,''),''!=_0x37748[_0x4699bb(0xf9)]&&''!=_0x37748[_0x4699bb(0xe9)]){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xdc),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xd6),['\x22'+_0x37748[_0x4699bb(0xe9)]+'\x22','\x22'+_0x37748[_0x4699bb(0xf9)]+'\x22'])});continue;}if(null!=_0x37748[_0x4699bb(0xf9)][_0x4699bb(0xf1)](/^ +$/)){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),_0x2752a6(_0x4fef45,_0x4699bb(0xf6),_0x37748[_0x4699bb(0xf9)][_0x4699bb(0x11e)]))});continue;}if(null!=_0x37748[_0x4699bb(0xe9)][_0x4699bb(0xf1)](/^ +$/)){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),_0x2752a6(_0x4fef45,_0x4699bb(0xf6),_0x37748[_0x4699bb(0xe9)][_0x4699bb(0x11e)]))});continue;}if(''!=_0x37748[_0x4699bb(0xf9)]){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),'\x22'+_0x37748[_0x4699bb(0xf9)]+'\x22')});continue;}_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),'\x22'+_0x37748[_0x4699bb(0xe9)]+'\x22')});continue;case _0x4699bb(0x128):case _0x4699bb(0x111):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0xd1):case _0x4699bb(0x12c):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0xd9):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xfa),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0x113):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xd0),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0x10b):_0x2a4d54[_0x4699bb(0xd4)](_0x37748[_0x4699bb(0x120)]);continue;case _0x4699bb(0x10c):_0x571a34[_0x4699bb(0xd4)](_0x37748[_0x4699bb(0x120)]);continue;default:_0x217d97[_0x4699bb(0xd4)](_0x37748);}if(_0x2a4d54[_0x4699bb(0x11e)]){const _0x6ee9e6=_0x2a4d54[_0x4699bb(0xed)](_0x249d88=>this[_0x4699bb(0x115)][_0x4699bb(0x117)](_0x249d88)?this[_0x4699bb(0x115)][_0x4699bb(0xeb)](_0x249d88):_0x249d88)[_0x4699bb(0xe8)](',\x20');_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x127),'content':_0x2752a6(this[_0x4699bb(0xea)],_0x4699bb(0x118),_0x6ee9e6)});}if(_0x571a34[_0x4699bb(0x11e)]){const _0x44deb2=_0x571a34[_0x4699bb(0xed)](_0x52293f=>this[_0x4699bb(0x115)][_0x4699bb(0x117)](_0x52293f)?this[_0x4699bb(0x115)][_0x4699bb(0xeb)](_0x52293f):_0x52293f)[_0x4699bb(0xe8)](',\x20');_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x127),'content':_0x2752a6(this[_0x4699bb(0xea)],_0x4699bb(0x11f),_0x44deb2)});}return _0x217d97;}[_0x2a06e0(0x109)](_0x2268c8){const _0x39cd39=_0x2a06e0;for(const _0x5a29cd of this[_0x39cd39(0xf4)]){const _0x506e0c=_0x5a29cd(_0x2268c8);if(_0x506e0c&&_0x39cd39(0xd3)in _0x506e0c)return _0x506e0c;}}[_0x2a06e0(0x121)](_0x4b9c6a,_0x50ae6a){const _0xafb2e0=_0x2a06e0,_0x44ec61=_0x50ae6a[_0xafb2e0(0xe4)],_0x3f8011=void 0x0===_0x44ec61[_0xafb2e0(0x10a)]?_0xafb2e0(0x10c):_0xafb2e0(0x10b);_0x4b9c6a[_0xafb2e0(0xd4)]({'type':_0x3f8011,'key':_0x44ec61[_0xafb2e0(0x120)]});}[_0x2a06e0(0x114)](_0x130da1,_0x5bcd6b){const _0x3fbfa5=_0x2a06e0;_0x130da1[_0x3fbfa5(0xd4)]({'type':_0x3fbfa5(0x127),'content':_0x2752a6(this[_0x3fbfa5(0xea)],_0x3fbfa5(0x112),this[_0x3fbfa5(0xe7)](_0x5bcd6b[_0x3fbfa5(0xf7)]()[_0x3fbfa5(0xd2)][_0x3fbfa5(0xfe)],0x1))});}[_0x2a06e0(0xf2)](_0x53c040,_0x135c09,_0x5d8f9a){const _0x54b254=_0x2a06e0;if(this[_0x54b254(0xdd)](_0x53c040,_0x135c09),_0x5d8f9a&&_0x5d8f9a[_0x54b254(0xf7)]()&&!_0x135c09[_0x54b254(0xf7)]()[_0x54b254(0x122)][_0x54b254(0xde)](_0x5d8f9a[_0x54b254(0xf7)]()[_0x54b254(0xd2)])){const _0x352888=_0x53c040[_0x53c040[_0x54b254(0x11e)]-0x1],_0x50024c=_0x54b254(0xff)==_0x135c09[_0x54b254(0xd3)]?_0x54b254(0xf9):_0x54b254(0xe9);_0x352888&&_0x54b254(0x108)==_0x352888[_0x54b254(0xd3)]&&(_0x352888[_0x50024c]+='\x0a');}}}
|
|
23
|
+
function _0x1358(_0x2fa707,_0x1ae920){const _0x200cc1=_0x200c();return _0x1358=function(_0x135891,_0x15e626){_0x135891=_0x135891-0xa0;let _0x19f00a=_0x200cc1[_0x135891];return _0x19f00a;},_0x1358(_0x2fa707,_0x1ae920);}function _0x200c(){const _0x12831=['element','nodeAfter','1918668ruFueJ','registerAttributeLabel','previousSibling','start','removeObject','softBreak','text','name','_addDescriptionItems','isEqual','checkChild','isEmpty','replace','$1\x20$2','*Insert:*\x20%0','indexOf','removeEmptyContainer','map','*Merge:*\x20%0','*Change\x20to:*\x20%0','addEmptyContainer','*Remove\x20format:*\x20%0','end','*Remove:*\x20%0','5byLTFO','_attributeLabels','18167170EvqHdH','add','push','911624uxIuBI','deletion','*Split:*\x20%0','key','addObject','matchingCallback','match','length','_itemLabelsCallbacks','Object','insertion','getWalker','$text','ELEMENT_SPACE','remove','has','_handleCustomCallbackDescription','3dCChyH','_handleInsertRemoveSuggestionDescription','REPLACE_TEXT','pop','isInContent','_customCallbacks','elementEnd','*Set\x20format:*\x20%0','getDescriptions','EmptyContainer','getFirstRange','skip','attribute','function','844679Piaczb','set','Container','removeFormat','6259575qyMZjl','17154YncCBW','registerElementLabel','addContainer','_locale','_resolveDescriptionItems','getItemLabel','2648HrxTKa','data','subType','_schema','type','nextSibling','join','format','addFormat','elementStart','5454138ldMrZx','_handleRenameSuggestionDescription','isObject','removeContainer','registerDescriptionCallback','item','newValue','normal','label','_handleAttributeSuggestionDescription','quantity','get','_itemLabels','$textProxy'];_0x200c=function(){return _0x12831;};return _0x200c();}const _0x405320=_0x1358;(function(_0xedb5bd,_0x26e49d){const _0x345ee9=_0x1358,_0x1745b1=_0xedb5bd();while(!![]){try{const _0x24df91=-parseInt(_0x345ee9(0xa4))/0x1+parseInt(_0x345ee9(0xc9))/0x2+parseInt(_0x345ee9(0xf7))/0x3*(-parseInt(_0x345ee9(0xe6))/0x4)+-parseInt(_0x345ee9(0xe1))/0x5*(parseInt(_0x345ee9(0xb9))/0x6)+-parseInt(_0x345ee9(0xa8))/0x7+parseInt(_0x345ee9(0xaf))/0x8*(parseInt(_0x345ee9(0xa9))/0x9)+parseInt(_0x345ee9(0xe3))/0xa;if(_0x24df91===_0x26e49d)break;else _0x1745b1['push'](_0x1745b1['shift']());}catch(_0x188973){_0x1745b1['push'](_0x1745b1['shift']());}}}(_0x200c,0x81aa0));import{getTranslation as _0x365ecc}from'./utils/common-translations.js';import{priorities as _0x15ef55,insertToPriorityArray as _0x84e119}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x24fe45}from'./trackchangesediting.js';export default class f{constructor(_0x329215,_0x461fbe){const _0x3d0918=_0x1358;this[_0x3d0918(0xfc)]=[],this[_0x3d0918(0xc5)]=new Map(),this[_0x3d0918(0xee)]=[],this[_0x3d0918(0xe2)]=new Map(),this[_0x3d0918(0xb2)]=_0x329215,this[_0x3d0918(0xac)]=_0x461fbe;}[_0x405320(0xff)](_0x413e7b){const _0x306df6=_0x405320,_0x388506=[],_0x20df2f=new Set(),_0x5e548f=new Set();for(let _0x11e29a=0x0;_0x11e29a<_0x413e7b[_0x306df6(0xed)];_0x11e29a++){const _0x5783ae=_0x413e7b[_0x11e29a];if(!_0x5783ae[_0x306df6(0xfb)])continue;const _0x120798=this[_0x306df6(0xf6)](_0x5783ae);if(_0x120798){if(null!=_0x5783ae[_0x306df6(0xb1)]){if(_0x20df2f[_0x306df6(0xf5)](_0x5783ae[_0x306df6(0xb1)]))continue;_0x20df2f[_0x306df6(0xe4)](_0x5783ae[_0x306df6(0xb1)]);}_0x388506[_0x306df6(0xe5)](_0x120798);}else{if(_0x306df6(0xa2)!=_0x5783ae[_0x306df6(0xb3)])_0x306df6(0xf0)!=_0x5783ae[_0x306df6(0xb3)]&&_0x306df6(0xe7)!=_0x5783ae[_0x306df6(0xb3)]||this[_0x306df6(0xf8)](_0x388506,_0x5783ae,_0x413e7b[_0x11e29a+0x1]);else{const _0x5ac4a8=_0x5783ae[_0x306df6(0xb0)][_0x306df6(0xe9)];if(_0x5e548f[_0x306df6(0xf5)](_0x5ac4a8))continue;_0x5e548f[_0x306df6(0xe4)](_0x5783ae[_0x306df6(0xb0)][_0x306df6(0xe9)]),_0x5ac4a8==_0x24fe45?this[_0x306df6(0xba)](_0x388506,_0x5783ae):this[_0x306df6(0xc2)](_0x388506,_0x5783ae);}}}return this[_0x306df6(0xad)](_0x388506);}[_0x405320(0xbd)](_0x6b1e6d){const _0x223d7a=_0x405320;this[_0x223d7a(0xfc)][_0x223d7a(0xe5)](_0x6b1e6d);}[_0x405320(0xaa)](_0x1d6f3a,_0x1ed0ff,_0x498cab=_0x15ef55[_0x405320(0xc0)]){const _0x344a82=_0x405320;_0x344a82(0xa3)==typeof _0x1d6f3a?_0x84e119(this[_0x344a82(0xee)],{'matchingCallback':_0x1d6f3a,'label':_0x1ed0ff,'priority':_0x498cab}):this[_0x344a82(0xc5)][_0x344a82(0xa5)](_0x1d6f3a,_0x1ed0ff);}[_0x405320(0xca)](_0x31d804,_0x5b7c69){const _0x15171a=_0x405320;this[_0x15171a(0xe2)][_0x15171a(0xa5)](_0x31d804,_0x5b7c69);}[_0x405320(0xae)](_0x57ad42,_0x3bc1c8=0x1){const _0x42de5c=_0x405320;let _0x472380;for(const _0x2fa9cc of this[_0x42de5c(0xee)])if(_0x2fa9cc[_0x42de5c(0xeb)](_0x57ad42)){_0x472380=_0x2fa9cc[_0x42de5c(0xc1)];break;}return _0x472380||(_0x472380=this[_0x42de5c(0xc5)][_0x42de5c(0xc4)](_0x57ad42[_0x42de5c(0xd0)])),_0x472380?_0x472380(_0x3bc1c8):0x1!==_0x3bc1c8?_0x3bc1c8+'\x20'+_0x57ad42[_0x42de5c(0xd0)]+'s':''+_0x57ad42[_0x42de5c(0xd0)];}[_0x405320(0xd1)](_0x1c33c1,_0x10a622){const _0x10d507=_0x405320,_0x5d4b13=_0x10a622[_0x10d507(0xa0)]()[_0x10d507(0xf1)](),_0x51ab3b=_0x10d507(0xf0)==_0x10a622[_0x10d507(0xb3)]?_0x10d507(0xe4):_0x10d507(0xf4);for(const _0x44caee of _0x5d4b13){const _0x63f295=_0x44caee[_0x10d507(0xbe)],_0x479fa6=_0x1c33c1[_0x1c33c1[_0x10d507(0xed)]-0x1];if(_0x63f295['is'](_0x10d507(0xc6)))_0x479fa6&&_0x479fa6[_0x10d507(0xb3)][_0x10d507(0xd8)](_0x10d507(0xa6))>-0x1&&_0x1c33c1[_0x10d507(0xfa)](),_0x479fa6&&_0x10d507(0xcf)==_0x479fa6[_0x10d507(0xb3)]?_0x479fa6[_0x51ab3b]+=_0x63f295[_0x10d507(0xb0)]:_0x1c33c1[_0x10d507(0xe5)]({'type':_0x10d507(0xcf),'add':_0x10d507(0xe4)==_0x51ab3b?_0x63f295[_0x10d507(0xb0)]:'','remove':_0x10d507(0xf4)==_0x51ab3b?_0x63f295[_0x10d507(0xb0)]:''});else{if(this[_0x10d507(0xb2)][_0x10d507(0xbb)](_0x63f295)){const _0x3a9b58=_0x63f295;if(_0x479fa6&&_0x479fa6[_0x10d507(0xb3)][_0x10d507(0xd8)](_0x10d507(0xa6))>-0x1&&_0x1c33c1[_0x10d507(0xfa)](),_0x10d507(0xfd)==_0x44caee[_0x10d507(0xb3)])continue;_0x479fa6&&_0x479fa6[_0x10d507(0xb3)]==_0x51ab3b+_0x10d507(0xef)&&_0x479fa6[_0x10d507(0xc7)][_0x10d507(0xd0)]==_0x3a9b58[_0x10d507(0xd0)]?_0x479fa6[_0x10d507(0xc3)]++:_0x1c33c1[_0x10d507(0xe5)]({'type':_0x51ab3b+_0x10d507(0xef),'element':_0x3a9b58,'quantity':0x1}),_0x5d4b13[_0x10d507(0xa1)](_0x542e50=>!(_0x10d507(0xfd)==_0x542e50[_0x10d507(0xb3)]&&_0x542e50[_0x10d507(0xbe)]==_0x63f295));}else{if(this[_0x10d507(0xb2)][_0x10d507(0xd3)](_0x63f295,_0x10d507(0xf2))||_0x63f295['is'](_0x10d507(0xc7),_0x10d507(0xce))){const _0x117e37=_0x63f295;if(_0x10d507(0xe4)==_0x51ab3b&&_0x10d507(0xb8)==_0x44caee[_0x10d507(0xb3)]||_0x10d507(0xf4)==_0x51ab3b&&_0x10d507(0xfd)==_0x44caee[_0x10d507(0xb3)])continue;if(_0x479fa6&&-0x1==_0x479fa6[_0x10d507(0xb3)][_0x10d507(0xd8)](_0x10d507(0xa6))){_0x10d507(0xcf)==_0x479fa6[_0x10d507(0xb3)]&&(_0x479fa6[_0x51ab3b]+='\x0a');continue;}let _0x4916fb;if(_0x4916fb=_0x10d507(0xe4)==_0x51ab3b?_0x117e37[_0x10d507(0xb4)]&&!this[_0x10d507(0xb2)][_0x10d507(0xbb)](_0x117e37[_0x10d507(0xb4)])?_0x117e37[_0x10d507(0xb4)]:null:_0x117e37[_0x10d507(0xcb)]&&!this[_0x10d507(0xb2)][_0x10d507(0xbb)](_0x117e37[_0x10d507(0xcb)])?_0x117e37[_0x10d507(0xcb)]:null,_0x117e37[_0x10d507(0xd4)]||_0x4916fb&&_0x4916fb[_0x10d507(0xd4)]){const _0x1daa8a=_0x4916fb&&_0x4916fb[_0x10d507(0xd4)]?_0x4916fb:_0x117e37;_0x479fa6&&_0x479fa6[_0x10d507(0xb3)]==_0x51ab3b+_0x10d507(0x100)&&_0x479fa6[_0x10d507(0xc7)][_0x10d507(0xd0)]==_0x1daa8a[_0x10d507(0xd0)]?_0x479fa6[_0x10d507(0xc3)]++:_0x1c33c1[_0x10d507(0xe5)]({'type':_0x51ab3b+_0x10d507(0x100),'element':_0x1daa8a,'quantity':0x1});}else _0x1c33c1[_0x10d507(0xe5)]({'type':_0x51ab3b+_0x10d507(0xa6),'element':_0x117e37});}}}}}[_0x405320(0xad)](_0x247501){const _0x483c80=_0x405320,_0x165a47=this[_0x483c80(0xac)],_0x15e534=[],_0x458745=[],_0x5bd46a=[];for(const _0x1ac420 of _0x247501)switch(_0x1ac420[_0x483c80(0xb3)]){case _0x483c80(0xcf):if(_0x1ac420[_0x483c80(0xe4)]=_0x1ac420[_0x483c80(0xe4)][_0x483c80(0xd5)](/(\S)\u000A+(\S)/g,_0x483c80(0xd6))[_0x483c80(0xd5)](/\u000A/g,''),_0x1ac420[_0x483c80(0xf4)]=_0x1ac420[_0x483c80(0xf4)][_0x483c80(0xd5)](/(\S)\u000A+(\S)/g,_0x483c80(0xd6))[_0x483c80(0xd5)](/\u000A/g,''),''!=_0x1ac420[_0x483c80(0xe4)]&&''!=_0x1ac420[_0x483c80(0xf4)]){_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xd5),'content':_0x365ecc(_0x165a47,_0x483c80(0xf9),['\x22'+_0x1ac420[_0x483c80(0xf4)]+'\x22','\x22'+_0x1ac420[_0x483c80(0xe4)]+'\x22'])});continue;}if(null!=_0x1ac420[_0x483c80(0xe4)][_0x483c80(0xec)](/^ +$/)){_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xf0),'content':_0x365ecc(_0x165a47,_0x483c80(0xd7),_0x365ecc(_0x165a47,_0x483c80(0xf3),_0x1ac420[_0x483c80(0xe4)][_0x483c80(0xed)]))});continue;}if(null!=_0x1ac420[_0x483c80(0xf4)][_0x483c80(0xec)](/^ +$/)){_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xe7),'content':_0x365ecc(_0x165a47,_0x483c80(0xe0),_0x365ecc(_0x165a47,_0x483c80(0xf3),_0x1ac420[_0x483c80(0xf4)][_0x483c80(0xed)]))});continue;}if(''!=_0x1ac420[_0x483c80(0xe4)]){_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xf0),'content':_0x365ecc(_0x165a47,_0x483c80(0xd7),'\x22'+_0x1ac420[_0x483c80(0xe4)]+'\x22')});continue;}_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xe7),'content':_0x365ecc(_0x165a47,_0x483c80(0xe0),'\x22'+_0x1ac420[_0x483c80(0xf4)]+'\x22')});continue;case _0x483c80(0xdd):case _0x483c80(0xea):_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xf0),'content':_0x365ecc(_0x165a47,_0x483c80(0xd7),this[_0x483c80(0xae)](_0x1ac420[_0x483c80(0xc7)],_0x1ac420[_0x483c80(0xc3)]))});continue;case _0x483c80(0xd9):case _0x483c80(0xcd):_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xe7),'content':_0x365ecc(_0x165a47,_0x483c80(0xe0),this[_0x483c80(0xae)](_0x1ac420[_0x483c80(0xc7)],_0x1ac420[_0x483c80(0xc3)]))});continue;case _0x483c80(0xab):_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xf0),'content':_0x365ecc(_0x165a47,_0x483c80(0xe8),this[_0x483c80(0xae)](_0x1ac420[_0x483c80(0xc7)],_0x1ac420[_0x483c80(0xc3)]))});continue;case _0x483c80(0xbc):_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xe7),'content':_0x365ecc(_0x165a47,_0x483c80(0xdb),this[_0x483c80(0xae)](_0x1ac420[_0x483c80(0xc7)],_0x1ac420[_0x483c80(0xc3)]))});continue;case _0x483c80(0xb7):_0x458745[_0x483c80(0xe5)](_0x1ac420[_0x483c80(0xe9)]);continue;case _0x483c80(0xa7):_0x5bd46a[_0x483c80(0xe5)](_0x1ac420[_0x483c80(0xe9)]);continue;default:_0x15e534[_0x483c80(0xe5)](_0x1ac420);}if(_0x458745[_0x483c80(0xed)]){const _0x195085=_0x458745[_0x483c80(0xda)](_0xc40e17=>this[_0x483c80(0xe2)][_0x483c80(0xf5)](_0xc40e17)?this[_0x483c80(0xe2)][_0x483c80(0xc4)](_0xc40e17):_0xc40e17)[_0x483c80(0xb5)](',\x20');_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xb6),'content':_0x365ecc(this[_0x483c80(0xac)],_0x483c80(0xfe),_0x195085)});}if(_0x5bd46a[_0x483c80(0xed)]){const _0x36a1fd=_0x5bd46a[_0x483c80(0xda)](_0x12c63f=>this[_0x483c80(0xe2)][_0x483c80(0xf5)](_0x12c63f)?this[_0x483c80(0xe2)][_0x483c80(0xc4)](_0x12c63f):_0x12c63f)[_0x483c80(0xb5)](',\x20');_0x15e534[_0x483c80(0xe5)]({'type':_0x483c80(0xb6),'content':_0x365ecc(this[_0x483c80(0xac)],_0x483c80(0xde),_0x36a1fd)});}return _0x15e534;}[_0x405320(0xf6)](_0x248eff){const _0x5adac2=_0x405320;for(const _0x2ad3bf of this[_0x5adac2(0xfc)]){const _0x5e8103=_0x2ad3bf(_0x248eff);if(_0x5e8103&&_0x5adac2(0xb3)in _0x5e8103)return _0x5e8103;}}[_0x405320(0xc2)](_0x192f5c,_0x47d0cc){const _0xfb3c65=_0x405320,_0x53ea99=_0x47d0cc[_0xfb3c65(0xb0)],_0x38dce6=void 0x0===_0x53ea99[_0xfb3c65(0xbf)]?_0xfb3c65(0xa7):_0xfb3c65(0xb7);_0x192f5c[_0xfb3c65(0xe5)]({'type':_0x38dce6,'key':_0x53ea99[_0xfb3c65(0xe9)]});}[_0x405320(0xba)](_0x117b3d,_0x2b9cd0){const _0x1c5d27=_0x405320;_0x117b3d[_0x1c5d27(0xe5)]({'type':_0x1c5d27(0xb6),'content':_0x365ecc(this[_0x1c5d27(0xac)],_0x1c5d27(0xdc),this[_0x1c5d27(0xae)](_0x2b9cd0[_0x1c5d27(0xa0)]()[_0x1c5d27(0xcc)][_0x1c5d27(0xc8)],0x1))});}[_0x405320(0xf8)](_0x634b4,_0x1e530b,_0x5730bc){const _0xe46214=_0x405320;if(this[_0xe46214(0xd1)](_0x634b4,_0x1e530b),_0x5730bc&&_0x5730bc[_0xe46214(0xa0)]()&&!_0x1e530b[_0xe46214(0xa0)]()[_0xe46214(0xdf)][_0xe46214(0xd2)](_0x5730bc[_0xe46214(0xa0)]()[_0xe46214(0xcc)])){const _0x32b935=_0x634b4[_0x634b4[_0xe46214(0xed)]-0x1],_0x2c0b75=_0xe46214(0xf0)==_0x1e530b[_0xe46214(0xb3)]?_0xe46214(0xe4):_0xe46214(0xf4);_0x32b935&&_0xe46214(0xcf)==_0x32b935[_0xe46214(0xb3)]&&(_0x32b935[_0x2c0b75]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xd27213=_0x5c0d;(function(_0x366b0e,_0x49ed49){var _0x3fbccf=_0x5c0d,_0x3bc203=_0x366b0e();while(!![]){try{var _0x4b8f18=-parseInt(_0x3fbccf(0x139))/0x1+parseInt(_0x3fbccf(0x142))/0x2*(-parseInt(_0x3fbccf(0x13c))/0x3)+parseInt(_0x3fbccf(0x146))/0x4+-parseInt(_0x3fbccf(0x144))/0x5+parseInt(_0x3fbccf(0x132))/0x6*(parseInt(_0x3fbccf(0x13b))/0x7)+-parseInt(_0x3fbccf(0x137))/0x8+parseInt(_0x3fbccf(0x13e))/0x9;if(_0x4b8f18===_0x49ed49)break;else _0x3bc203['push'](_0x3bc203['shift']());}catch(_0x37d35d){_0x3bc203['push'](_0x3bc203['shift']());}}}(_0x44e8,0xdab92));function _0x44e8(){var _0x403615=['getSuggestion','528662IGAzcD','plugins','14oylfZU','90IHoERG','getSuggestions','36168435AMwJim','addSuggestionData','editor','requires','94576dayIOk','get','7720265cRtqWx','addSuggestion','3519840JWhKVG','1082652hzkxvg','adapter','TrackChanges','Comments','pluginName','6978512pxrVYL'];_0x44e8=function(){return _0x403615;};return _0x44e8();}import{Plugin as _0x10b1c7}from'ckeditor5/src/core.js';import _0x13aa57 from'./trackchangesui.js';import _0x477e99 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x5c0d(_0x1240ad,_0x14022d){var _0x44e83f=_0x44e8();return _0x5c0d=function(_0x5c0d25,_0x459765){_0x5c0d25=_0x5c0d25-0x132;var _0x2ddc8c=_0x44e83f[_0x5c0d25];return _0x2ddc8c;},_0x5c0d(_0x1240ad,_0x14022d);}export default class k extends _0x10b1c7{static get[_0xd27213(0x141)](){var _0x3bef02=_0xd27213;return[_0x477e99,_0x13aa57,_0x3bef02(0x135)];}static get[_0xd27213(0x136)](){var _0xca8e2b=_0xd27213;return _0xca8e2b(0x134);}set[_0xd27213(0x133)](_0x2683b2){var _0x4464be=_0xd27213;this[_0x4464be(0x140)][_0x4464be(0x13a)][_0x4464be(0x143)](_0x477e99)[_0x4464be(0x133)]=_0x2683b2;}get[_0xd27213(0x133)](){var _0x47058a=_0xd27213;return this[_0x47058a(0x140)][_0x47058a(0x13a)][_0x47058a(0x143)](_0x477e99)[_0x47058a(0x133)];}[_0xd27213(0x145)](_0x3e890b){var _0x4a393c=_0xd27213;return this[_0x4a393c(0x140)][_0x4a393c(0x13a)][_0x4a393c(0x143)](_0x477e99)[_0x4a393c(0x13f)](_0x3e890b);}[_0xd27213(0x13d)]({skipNotAttached:_0x376015=!0x1,toJSON:_0x2bc84a=!0x1}={}){var _0x330a08=_0xd27213;return this[_0x330a08(0x140)][_0x330a08(0x13a)][_0x330a08(0x143)](_0x477e99)[_0x330a08(0x13d)]({'skipNotAttached':_0x376015,'toJSON':_0x2bc84a});}[_0xd27213(0x138)](_0x5086b5){var _0x29b2d6=_0xd27213;return this[_0x29b2d6(0x140)][_0x29b2d6(0x13a)][_0x29b2d6(0x143)](_0x477e99)[_0x29b2d6(0x138)](_0x5086b5);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37ce35=_0x3622;(function(_0x56d42e,_0x597655){const _0x54a921=_0x3622,_0x6c788b=_0x56d42e();while(!![]){try{const _0x12aa88=parseInt(_0x54a921(0x15a))/0x1*(parseInt(_0x54a921(0x134))/0x2)+-parseInt(_0x54a921(0x15f))/0x3*(-parseInt(_0x54a921(0x127))/0x4)+-parseInt(_0x54a921(0x154))/0x5+-parseInt(_0x54a921(0x156))/0x6+parseInt(_0x54a921(0x12d))/0x7*(-parseInt(_0x54a921(0x146))/0x8)+parseInt(_0x54a921(0x148))/0x9+-parseInt(_0x54a921(0x12f))/0xa*(-parseInt(_0x54a921(0x155))/0xb);if(_0x12aa88===_0x597655)break;else _0x6c788b['push'](_0x6c788b['shift']());}catch(_0x4dae78){_0x6c788b['push'](_0x6c788b['shift']());}}}(_0x3379,0xa9be2));import{Plugin as _0x57ed67}from'ckeditor5/src/core.js';function _0x3622(_0x5b7374,_0x231e79){const _0x337971=_0x3379();return _0x3622=function(_0x362264,_0x585959){_0x362264=_0x362264-0x121;let _0x480049=_0x337971[_0x362264];return _0x480049;},_0x3622(_0x5b7374,_0x231e79);}function _0x3379(){const _0x1cbce0=['end','Pagination','309323uyYNlP','getRootNames','130vbvZBX','document','TrackChangesEditing','CommentsRepository','model','40890kglWNG','track-changes-data-invalid-editor-creator','name','init','requires','result','create','reduce','trackChangesData.editorCreator','set','editor','plugins','div','trackChangesData','createDocumentFragment','push','execute','addUser','184zVqPyh','appendChild','570033FQskIe','define','config','function','getDataWithAcceptedSuggestions','addSuggestionData','getDataWithDiscardedSuggestions','getRootsAttributes','getUser','useAnonymousUser','_adapter','createElement','3552105PMvdIJ','2735337ZmVMnD','7957020vJLjap','destroy','discardAllSuggestions','users','13pvLPzX','rootsAttributes','get','getSuggestions','Users','186411FNgbRS','constructor','acceptAllSuggestions','map','getFullData','pluginName','editorCreator','12hPTatM','TrackChangesDataGetter','TrackChangesData','data'];_0x3379=function(){return _0x1cbce0;};return _0x3379();}import{CKEditorError as _0x239e2e}from'ckeditor5/src/utils.js';import _0x407b3a from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x22f832}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x37ce35(0x12c)];export default class P extends _0x57ed67{static get[_0x37ce35(0x138)](){return[_0x407b3a];}static get[_0x37ce35(0x125)](){const _0x466917=_0x37ce35;return _0x466917(0x129);}[_0x37ce35(0x137)](){const _0x2e19ed=_0x37ce35,_0x5d8518=this[_0x2e19ed(0x13e)];if(_0x5d8518[_0x2e19ed(0x14a)][_0x2e19ed(0x149)](_0x2e19ed(0x13c),_0x48ecd3=>{const _0x1783d0=_0x2e19ed,_0x93d5c0=_0x5d8518[_0x1783d0(0x133)][_0x1783d0(0x130)][_0x1783d0(0x12e)]()[_0x1783d0(0x13b)]((_0x71f099,_0x30afed)=>(_0x71f099[_0x30afed]='',_0x71f099),{});return _0x5d8518[_0x1783d0(0x121)][_0x1783d0(0x13a)](_0x93d5c0,_0x48ecd3);}),_0x2e19ed(0x14b)!=typeof _0x5d8518[_0x2e19ed(0x14a)][_0x2e19ed(0x15c)](_0x2e19ed(0x141))[_0x2e19ed(0x126)])throw new _0x239e2e(_0x2e19ed(0x135));}[_0x37ce35(0x14c)](_0x191935){const _0xe57427=_0x37ce35;return N(this[_0xe57427(0x13e)],!0x0,_0x191935);}[_0x37ce35(0x14e)](_0xd866ae){const _0x5e1712=_0x37ce35;return N(this[_0x5e1712(0x13e)],!0x1,_0xd866ae);}}class D extends _0x57ed67{static get[_0x37ce35(0x125)](){const _0x159215=_0x37ce35;return _0x159215(0x128);}constructor(_0x34c78a){const _0x277894=_0x37ce35;super(_0x34c78a),this[_0x277894(0x139)]=_0x277894(0x12b);}[_0x37ce35(0x137)](){const _0x19453a=_0x37ce35;this[_0x19453a(0x13e)][_0x19453a(0x13f)][_0x19453a(0x15c)](_0x19453a(0x132))[_0x19453a(0x152)]={'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[_0x19453a(0x13e)][_0x19453a(0x13f)][_0x19453a(0x15c)](_0x19453a(0x131))[_0x19453a(0x152)]=null;}}function v(_0x289257){const _0x3458c7=_0x37ce35;return void 0x0!==_0x289257[_0x3458c7(0x14f)];}async function N(_0x17ff2a,_0xd135f5,_0x262c20){const _0x4cf863=_0x37ce35,_0x2e9b41=_0x22f832(_0x17ff2a,T);_0x2e9b41[_0x4cf863(0x13f)][_0x4cf863(0x143)](_0x407b3a,D),_0x2e9b41[_0x4cf863(0x15b)]=v(_0x17ff2a)?_0x17ff2a[_0x4cf863(0x14f)]():void 0x0;const _0x417fc6=document[_0x4cf863(0x142)](),_0x22a61a=_0x17ff2a[_0x4cf863(0x14a)][_0x4cf863(0x15c)](_0x4cf863(0x141))[_0x4cf863(0x126)],_0x1624fa=await _0x22a61a(_0x2e9b41,()=>function(_0x25c5b8){const _0x110a08=_0x4cf863,_0x21ac5c=document[_0x110a08(0x153)](_0x110a08(0x140));return _0x25c5b8[_0x110a08(0x147)](_0x21ac5c),_0x21ac5c;}(_0x417fc6));!function(_0x9d386c,_0x18e7f6){const _0x47e8d2=_0x4cf863,_0x16b828=_0x9d386c[_0x47e8d2(0x133)][_0x47e8d2(0x130)][_0x47e8d2(0x12e)]()[_0x47e8d2(0x13b)]((_0x5e6bd3,_0x2c319a)=>(_0x5e6bd3[_0x2c319a]=_0x9d386c[_0x47e8d2(0x12a)][_0x47e8d2(0x15c)]({'rootName':_0x2c319a}),_0x5e6bd3),{}),_0x51cf19=_0x9d386c[_0x47e8d2(0x13f)][_0x47e8d2(0x15c)](_0x47e8d2(0x15e))[_0x47e8d2(0x159)][_0x47e8d2(0x123)](_0x729f2a=>({'id':_0x729f2a['id'],'name':_0x729f2a[_0x47e8d2(0x136)]})),_0x13a433=_0x9d386c[_0x47e8d2(0x13f)][_0x47e8d2(0x15c)](_0x47e8d2(0x131))[_0x47e8d2(0x15d)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x159d98=_0x18e7f6[_0x47e8d2(0x13f)][_0x47e8d2(0x15c)](_0x47e8d2(0x15e)),_0xe64df0=_0x18e7f6[_0x47e8d2(0x13f)][_0x47e8d2(0x15c)](_0x47e8d2(0x131));for(const _0x11ed89 of _0x51cf19)_0x159d98[_0x47e8d2(0x150)](_0x11ed89['id'])||_0x159d98[_0x47e8d2(0x145)](_0x11ed89);_0x159d98['me']||_0x159d98[_0x47e8d2(0x151)]();for(const _0x59e0b3 of _0x13a433)_0xe64df0[_0x47e8d2(0x14d)](_0x59e0b3);_0x18e7f6[_0x47e8d2(0x12a)][_0x47e8d2(0x13d)](_0x16b828);}(_0x17ff2a,_0x1624fa),_0x1624fa[_0x4cf863(0x144)](_0xd135f5?_0x4cf863(0x122):_0x4cf863(0x158));const _0x311ef2=v(_0x1624fa)?_0x1624fa[_0x4cf863(0x124)](_0x262c20):_0x1624fa[_0x4cf863(0x12a)][_0x4cf863(0x15c)](_0x262c20);return await _0x1624fa[_0x4cf863(0x157)](),_0x311ef2;}
|