UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.41 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0xe271(_0x4b1cac,_0x3e492d){const _0x195156=_0x1951();return _0xe271=function(_0xe2719d,_0x2d022d){_0xe2719d=_0xe2719d-0x92;let _0x39bddc=_0x195156[_0xe2719d];return _0x39bddc;},_0xe271(_0x4b1cac,_0x3e492d);}const _0x4f6d4e=_0xe271;(function(_0x29da74,_0x274867){const _0x417292=_0xe271,_0x338f3a=_0x29da74();while(!![]){try{const _0x4bbbe8=-parseInt(_0x417292(0xa1))/0x1+parseInt(_0x417292(0x9c))/0x2+parseInt(_0x417292(0x95))/0x3*(-parseInt(_0x417292(0x98))/0x4)+-parseInt(_0x417292(0x93))/0x5+parseInt(_0x417292(0xa4))/0x6+-parseInt(_0x417292(0xa5))/0x7+parseInt(_0x417292(0x9f))/0x8*(parseInt(_0x417292(0xa3))/0x9);if(_0x4bbbe8===_0x274867)break;else _0x338f3a['push'](_0x338f3a['shift']());}catch(_0x389df0){_0x338f3a['push'](_0x338f3a['shift']());}}}(_0x1951,0x6ec71));import{Command as _0x19a06d}from'ckeditor5/src/core.js';import{sortSuggestions as _0x2c96f2,executeCommandForSuggestions as _0x391ee8}from'../utils/utils.js';export default class x extends _0x19a06d{[_0x4f6d4e(0x97)];[_0x4f6d4e(0x9b)];constructor(_0x6cd4a4,_0x3e0805,_0x241aeb){const _0x59a2a2=_0x4f6d4e;super(_0x6cd4a4),this[_0x59a2a2(0x97)]=_0x3e0805,this[_0x59a2a2(0x9b)]=_0x241aeb,this[_0x59a2a2(0xa0)](),this[_0x59a2a2(0xa2)]=!0x1;}[_0x4f6d4e(0xa0)](){const _0x4e9a25=_0x4f6d4e,_0x1bad20=Array[_0x4e9a25(0x96)](this[_0x4e9a25(0x9b)][_0x4e9a25(0x94)]())[_0x4e9a25(0xa7)](_0x22eebc=>_0x22eebc[_0x4e9a25(0xa6)]);this[_0x4e9a25(0x92)]=this[_0x4e9a25(0x97)][_0x4e9a25(0x92)]&&_0x1bad20;}[_0x4f6d4e(0x99)](){const _0x4eb44b=_0x4f6d4e,_0x3a333b=_0x2c96f2(Array[_0x4eb44b(0x96)](this[_0x4eb44b(0x9b)][_0x4eb44b(0x94)]()));for(const _0x4095a6 of _0x3a333b){const _0x3857f6=_0x4095a6[_0x4eb44b(0x9e)]();if(!this[_0x4eb44b(0xa8)][_0x4eb44b(0x9a)][_0x4eb44b(0x9d)](_0x3857f6))return;}_0x391ee8(this[_0x4eb44b(0xa8)][_0x4eb44b(0x9a)],this[_0x4eb44b(0x97)],_0x3a333b);}}function _0x1951(){const _0x3467f3=['_command','1368HmjXTg','execute','model','_suggestions','1515676gcIote','canEditAt','getRanges','16uHGwal','refresh','520293cVUWnY','_isEnabledBasedOnSelection','7375491kLGKrV','2482638BHZZOl','4239774uHFCro','isInContent','some','editor','isEnabled','4475225plZfYk','values','2946tUZiCh','from'];_0x1951=function(){return _0x3467f3;};return _0x1951();}