@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.9 → 46.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x560ab1=_0x4eab;function _0x4eab(_0x13a8c6,_0x52ecce){var _0x2859b7=_0x2859();return _0x4eab=function(_0x4eab30,_0x113910){_0x4eab30=_0x4eab30-0x195;var _0x2c41ba=_0x2859b7[_0x4eab30];return _0x2c41ba;},_0x4eab(_0x13a8c6,_0x52ecce);}(function(_0x243b08,_0x2044b0){var _0x1061ed=_0x4eab,_0x3d8a05=_0x243b08();while(!![]){try{var _0x2f4e4c=-parseInt(_0x1061ed(0x19d))/0x1+parseInt(_0x1061ed(0x1a0))/0x2*(-parseInt(_0x1061ed(0x1a1))/0x3)+-parseInt(_0x1061ed(0x1a2))/0x4*(parseInt(_0x1061ed(0x199))/0x5)+-parseInt(_0x1061ed(0x1a3))/0x6*(parseInt(_0x1061ed(0x19a))/0x7)+parseInt(_0x1061ed(0x1a5))/0x8*(parseInt(_0x1061ed(0x196))/0x9)+-parseInt(_0x1061ed(0x197))/0xa+parseInt(_0x1061ed(0x195))/0xb*(parseInt(_0x1061ed(0x19c))/0xc);if(_0x2f4e4c===_0x2044b0)break;else _0x3d8a05['push'](_0x3d8a05['shift']());}catch(_0x5a772d){_0x3d8a05['push'](_0x3d8a05['shift']());}}}(_0x2859,0xd2d06));import{OperationCompressor as _0x29ee6b}from'./operationcompressor.js';export class NoOperationCompressor extends _0x29ee6b{[_0x560ab1(0x19b)](_0x349739,_0x458bde){var _0x4dec1f=_0x560ab1;return _0x458bde[_0x4dec1f(0x19e)](),_0x349739[_0x4dec1f(0x1a4)][_0x4dec1f(0x198)](this[_0x4dec1f(0x19f)]),!0x0;}[_0x560ab1(0x1a7)](_0x569ad4,_0x4a4747){var _0x77a274=_0x560ab1;_0x4a4747[_0x77a274(0x1a4)][_0x77a274(0x19e)](),_0x569ad4[_0x77a274(0x198)]({'__className':this[_0x77a274(0x1a6)]});}}function _0x2859(){var _0x2c8f1c=['39487NjWRKD','compress','696JVHcSa','895930HgTKzl','shift','_id','1166mXAvGQ','8382rqEQlP','659656wnQwUt','1716amSTMW','types','1434840ZszZUj','_operationName','decompress','982487Zqjbnq','81Mklipe','12981870cBfYYT','push','15PwnQAH'];_0x2859=function(){return _0x2c8f1c;};return _0x2859();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2551(){const _0x11f87f=['519651gUmJWW','push','508936BkTOUZ','4998702ScMohZ','_protobufDescriptor','1696536muDoIo','shift','__className','decompress','compress','56SHaMLK','4ABgTuq','types','729745oonZBK','_id','2AAcHyb','buffers','321340kndtdL','_operationName','3885442fEjtFR','10xdiyhD'];_0x2551=function(){return _0x11f87f;};return _0x2551();}function _0x5419(_0xe98c91,_0x18b213){const _0x255107=_0x2551();return _0x5419=function(_0x54198f,_0x432358){_0x54198f=_0x54198f-0x81;let _0x2dfeb3=_0x255107[_0x54198f];return _0x2dfeb3;},_0x5419(_0xe98c91,_0x18b213);}const _0x439736=_0x5419;(function(_0x5d7263,_0x45b9ad){const _0x743d8=_0x5419,_0x289f09=_0x5d7263();while(!![]){try{const _0x396725=parseInt(_0x743d8(0x85))/0x1+parseInt(_0x743d8(0x83))/0x2*(parseInt(_0x743d8(0x89))/0x3)+-parseInt(_0x743d8(0x94))/0x4*(-parseInt(_0x743d8(0x81))/0x5)+parseInt(_0x743d8(0x8c))/0x6+-parseInt(_0x743d8(0x93))/0x7*(parseInt(_0x743d8(0x8b))/0x8)+-parseInt(_0x743d8(0x8e))/0x9+-parseInt(_0x743d8(0x88))/0xa*(parseInt(_0x743d8(0x87))/0xb);if(_0x396725===_0x45b9ad)break;else _0x289f09['push'](_0x289f09['shift']());}catch(_0xfd47e6){_0x289f09['push'](_0x289f09['shift']());}}}(_0x2551,0x67431));import{parsePositionBeforeCompression as _0x424f9b,parsePositionAfterCompression as _0x1202ff}from'../utils.js';export class OperationCompressor{[_0x439736(0x82)];[_0x439736(0x86)];[_0x439736(0x8d)];constructor(_0x257120,_0x2664a2,_0x2e95c5){const _0x3f9eb8=_0x439736;this[_0x3f9eb8(0x82)]=_0x257120,this[_0x3f9eb8(0x86)]=_0x2664a2,this[_0x3f9eb8(0x8d)]=_0x2e95c5;}[_0x439736(0x92)](_0x47226f,_0x347c9e){const _0x41e6d5=_0x439736,_0x56946d=_0x347c9e[_0x41e6d5(0x8f)]();return _0x424f9b(_0x56946d),_0x47226f[_0x41e6d5(0x84)][_0x41e6d5(0x8a)](this[_0x41e6d5(0x8d)][_0x41e6d5(0x92)](_0x56946d)),_0x47226f[_0x41e6d5(0x95)][_0x41e6d5(0x8a)](this[_0x41e6d5(0x82)]),!0x0;}[_0x439736(0x91)](_0x295f8e,_0x56543a){const _0x36345d=_0x439736;_0x56543a[_0x36345d(0x95)][_0x36345d(0x8f)]();const _0x32997c=this[_0x36345d(0x8d)][_0x36345d(0x91)](_0x56543a[_0x36345d(0x84)][_0x36345d(0x8f)]());_0x1202ff(_0x32997c),_0x32997c[_0x36345d(0x90)]=this[_0x36345d(0x86)],_0x295f8e[_0x36345d(0x8a)](_0x32997c);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeaf301=_0x3283;(function(_0x3f752b,_0x41a394){const _0x30ed1e=_0x3283,_0x21d2c2=_0x3f752b();while(!![]){try{const _0x41d11a=parseInt(_0x30ed1e(0xce))/0x1+-parseInt(_0x30ed1e(0xc3))/0x2*(parseInt(_0x30ed1e(0xcc))/0x3)+-parseInt(_0x30ed1e(0xbb))/0x4+parseInt(_0x30ed1e(0xc1))/0x5+parseInt(_0x30ed1e(0xbc))/0x6*(-parseInt(_0x30ed1e(0xc2))/0x7)+-parseInt(_0x30ed1e(0xcd))/0x8*(parseInt(_0x30ed1e(0xbf))/0x9)+parseInt(_0x30ed1e(0xc9))/0xa;if(_0x41d11a===_0x41a394)break;else _0x21d2c2['push'](_0x21d2c2['shift']());}catch(_0x4030cc){_0x21d2c2['push'](_0x21d2c2['shift']());}}}(_0x249a,0xdbf76));import{messages as _0x31ef46}from'./lib/compiledmessages.js';function _0x249a(){const _0x43493e=['3brilOh','702728fuFTCt','293274azEgND','finish','186296RPagXO','3414KEjHyz','getDescriptor','compress','18zzDikJ','verify','1307745AQnjue','11207LHAfwC','609656uEqxCj','create','decode','toObject','_protobufRoot','_protobuf','17842120Kktlxx','encode','decompress'];_0x249a=function(){return _0x43493e;};return _0x249a();}export class ProtobufFactory{[_0xeaf301(0xc7)];constructor(){const _0x448448=_0xeaf301;this[_0x448448(0xc7)]=_0x31ef46;}[_0xeaf301(0xbd)](_0x2f1558){const _0x17c763=_0xeaf301;return new ProtobufDescriptor(this[_0x17c763(0xc7)][_0x2f1558]);}}function _0x3283(_0x50311e,_0x3c970d){const _0x249a9a=_0x249a();return _0x3283=function(_0x3283fa,_0x5b6563){_0x3283fa=_0x3283fa-0xba;let _0x293554=_0x249a9a[_0x3283fa];return _0x293554;},_0x3283(_0x50311e,_0x3c970d);}export class ProtobufDescriptor{[_0xeaf301(0xc8)];constructor(_0x547ff6){const _0x5ad7a8=_0xeaf301;this[_0x5ad7a8(0xc8)]=_0x547ff6;}[_0xeaf301(0xbe)](_0x3e7330){const _0x37c610=_0xeaf301,_0x414f52=this[_0x37c610(0xc8)][_0x37c610(0xc0)](_0x3e7330);if(_0x414f52)throw Error(_0x414f52);return this[_0x37c610(0xc8)][_0x37c610(0xca)](this[_0x37c610(0xc8)][_0x37c610(0xc4)](_0x3e7330))[_0x37c610(0xba)]();}[_0xeaf301(0xcb)](_0x73ed56){const _0x1e5d3a=_0xeaf301;return this[_0x1e5d3a(0xc8)][_0x1e5d3a(0xc6)](this[_0x1e5d3a(0xc8)][_0x1e5d3a(0xc5)](_0x73ed56),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x6672cb,_0x4adf38){const _0x2ede96=_0x284c,_0x1d527d=_0x6672cb();while(!![]){try{const _0x55b801=-parseInt(_0x2ede96(0x115))/0x1+-parseInt(_0x2ede96(0x10a))/0x2+parseInt(_0x2ede96(0x114))/0x3+-parseInt(_0x2ede96(0x113))/0x4*(-parseInt(_0x2ede96(0x10d))/0x5)+-parseInt(_0x2ede96(0x109))/0x6*(parseInt(_0x2ede96(0x118))/0x7)+parseInt(_0x2ede96(0x110))/0x8+-parseInt(_0x2ede96(0x10c))/0x9;if(_0x55b801===_0x4adf38)break;else _0x1d527d['push'](_0x1d527d['shift']());}catch(_0x455c62){_0x1d527d['push'](_0x1d527d['shift']());}}}(_0x1f23,0xe90ca));import{cloneDeep as _0x585923,isEqual as _0x22d636,isObject as _0x3364ca}from'es-toolkit/compat';function _0x284c(_0x3e1bc5,_0x43a4a9){const _0x1f23c5=_0x1f23();return _0x284c=function(_0x284c30,_0x42aee6){_0x284c30=_0x284c30-0x108;let _0x3c15c6=_0x1f23c5[_0x284c30];return _0x3c15c6;},_0x284c(_0x3e1bc5,_0x43a4a9);}export function getPositionShiftedBy(_0x3a0b47,_0x4186ce){const _0xaad894=_0x284c,_0x1ed357=_0x585923(_0x3a0b47);return _0x1ed357[_0xaad894(0x10f)][_0x1ed357[_0xaad894(0x10f)][_0xaad894(0x116)]-0x1]+=_0x4186ce,_0x1ed357;}function _0x1f23(){const _0x2b62cf=['length','$graveyard','251279tDtLeW','main','6YqvdSq','486500SxfSxg','rootGraveyard','2745747CaZQLu','595685aVQGnf','root','path','9528904nNYFHq','nodes','rootMain','8AmVRno','1696251NENldd','456004rJsagC'];_0x1f23=function(){return _0x2b62cf;};return _0x1f23();}export function arePositionsEqual(_0x4d2caa,_0x4c2d60){const _0xd95c90=_0x284c;return _0x4d2caa[_0xd95c90(0x10e)]===_0x4c2d60[_0xd95c90(0x10e)]&&_0x22d636(_0x4d2caa[_0xd95c90(0x10f)],_0x4c2d60[_0xd95c90(0x10f)]);}export function parsePositionBeforeCompression(_0x6e6258){const _0x4ba7ec=_0x284c;P(_0x6e6258,_0x43d3b3=>(_0x4ba7ec(0x108)==_0x43d3b3[_0x4ba7ec(0x10e)]?(_0x43d3b3[_0x4ba7ec(0x112)]=!0x0,delete _0x43d3b3[_0x4ba7ec(0x10e)]):_0x4ba7ec(0x117)==_0x43d3b3[_0x4ba7ec(0x10e)]&&(_0x43d3b3[_0x4ba7ec(0x10b)]=!0x0,delete _0x43d3b3[_0x4ba7ec(0x10e)]),_0x43d3b3));}export function parsePositionAfterCompression(_0x5783da){const _0x5578d7=_0x284c;P(_0x5783da,_0x41aa56=>(_0x41aa56[_0x5578d7(0x112)]?(_0x41aa56[_0x5578d7(0x10e)]=_0x5578d7(0x108),delete _0x41aa56[_0x5578d7(0x112)]):_0x41aa56[_0x5578d7(0x10b)]&&(_0x41aa56[_0x5578d7(0x10e)]=_0x5578d7(0x117),delete _0x41aa56[_0x5578d7(0x10b)]),_0x41aa56));}function P(_0x32fb35,_0xf9f140){const _0x21f31a=_0x284c;for(const _0x15a6d7 in _0x32fb35){const _0x22ff5b=_0x32fb35[_0x15a6d7];_0x21f31a(0x111)!==_0x15a6d7&&_0x3364ca(_0x22ff5b)&&(_0x22ff5b[_0x21f31a(0x10f)]&&(_0x22ff5b[_0x21f31a(0x10e)]||_0x22ff5b[_0x21f31a(0x112)]||_0x22ff5b[_0x21f31a(0x10b)])?_0x32fb35[_0x15a6d7]=_0xf9f140(_0x22ff5b):P(_0x22ff5b,_0xf9f140));}return _0x32fb35;}
|