@ckeditor/ckeditor5-operations-compressor 45.1.0 → 45.2.0-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 _0x164150=_0x1a60;(function(_0x5a352f,_0x2b1932){var _0x2d1003=_0x1a60,_0x64e8d7=_0x5a352f();while(!![]){try{var _0x2555e4=parseInt(_0x2d1003(0xff))/0x1*(-parseInt(_0x2d1003(0xfe))/0x2)+-parseInt(_0x2d1003(0x10b))/0x3*(-parseInt(_0x2d1003(0x10e))/0x4)+-parseInt(_0x2d1003(0x10a))/0x5+-parseInt(_0x2d1003(0x104))/0x6+parseInt(_0x2d1003(0x109))/0x7+-parseInt(_0x2d1003(0x107))/0x8*(-parseInt(_0x2d1003(0x100))/0x9)+parseInt(_0x2d1003(0x105))/0xa;if(_0x2555e4===_0x2b1932)break;else _0x64e8d7['push'](_0x64e8d7['shift']());}catch(_0x48930b){_0x64e8d7['push'](_0x64e8d7['shift']());}}}(_0x39c7,0xd7b84));function _0x39c7(){var _0x4eda0d=['8015352yaFVHb','19312320pVwzMT','compress','8GKHxYd','_operationName','8973013aGSBLz','8285815wdMsGm','157497fOvhhP','push','types','84hRLpxU','36rtXnlu','50591BbcVBm','4245399flWgEv','decompress','_id','shift'];_0x39c7=function(){return _0x4eda0d;};return _0x39c7();}import _0x4ad7ff from'./operationcompressor.js';function _0x1a60(_0x2a408b,_0x462857){var _0x39c78c=_0x39c7();return _0x1a60=function(_0x1a602e,_0x562127){_0x1a602e=_0x1a602e-0xfe;var _0x21e0d6=_0x39c78c[_0x1a602e];return _0x21e0d6;},_0x1a60(_0x2a408b,_0x462857);}export default class p extends _0x4ad7ff{[_0x164150(0x106)](_0x33ae99,_0x2378c4){var _0x265fff=_0x164150;return _0x2378c4[_0x265fff(0x103)](),_0x33ae99[_0x265fff(0x10d)][_0x265fff(0x10c)](this[_0x265fff(0x102)]),!0x0;}[_0x164150(0x101)](_0x143c5e,_0x633e9e){var _0x123175=_0x164150;_0x633e9e[_0x123175(0x10d)][_0x123175(0x103)](),_0x143c5e[_0x123175(0x10c)]({'__className':this[_0x123175(0x108)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x570cd8=_0x45d4;(function(_0x3da12d,_0x4bf39a){const _0x15192f=_0x45d4,_0x2097c4=_0x3da12d();while(!![]){try{const _0x202349=-parseInt(_0x15192f(0x17a))/0x1*(parseInt(_0x15192f(0x182))/0x2)+-parseInt(_0x15192f(0x180))/0x3*(-parseInt(_0x15192f(0x184))/0x4)+-parseInt(_0x15192f(0x185))/0x5+-parseInt(_0x15192f(0x173))/0x6+parseInt(_0x15192f(0x17c))/0x7*(-parseInt(_0x15192f(0x17b))/0x8)+-parseInt(_0x15192f(0x187))/0x9*(-parseInt(_0x15192f(0x17f))/0xa)+parseInt(_0x15192f(0x175))/0xb;if(_0x202349===_0x4bf39a)break;else _0x2097c4['push'](_0x2097c4['shift']());}catch(_0x4ed26c){_0x2097c4['push'](_0x2097c4['shift']());}}}(_0x236d,0xb271f));import{parsePositionBeforeCompression as _0x1d3ea6,parsePositionAfterCompression as _0x4ebbe3}from'../utils.js';export default class e{[_0x570cd8(0x178)];[_0x570cd8(0x17e)];[_0x570cd8(0x176)];constructor(_0x175bdd,_0x3404d6,_0x5a797c){const _0x19ce5f=_0x570cd8;this[_0x19ce5f(0x178)]=_0x175bdd,this[_0x19ce5f(0x17e)]=_0x3404d6,this[_0x19ce5f(0x176)]=_0x5a797c;}[_0x570cd8(0x181)](_0x1a78f0,_0xc5fa07){const _0x16f4c4=_0x570cd8,_0x2782ce=_0xc5fa07[_0x16f4c4(0x17d)]();return _0x1d3ea6(_0x2782ce),_0x1a78f0[_0x16f4c4(0x186)][_0x16f4c4(0x179)](this[_0x16f4c4(0x176)][_0x16f4c4(0x181)](_0x2782ce)),_0x1a78f0[_0x16f4c4(0x177)][_0x16f4c4(0x179)](this[_0x16f4c4(0x178)]),!0x0;}[_0x570cd8(0x183)](_0x55f09a,_0x2a3173){const _0x3d5a78=_0x570cd8;_0x2a3173[_0x3d5a78(0x177)][_0x3d5a78(0x17d)]();const _0x1209f5=this[_0x3d5a78(0x176)][_0x3d5a78(0x183)](_0x2a3173[_0x3d5a78(0x186)][_0x3d5a78(0x17d)]());_0x4ebbe3(_0x1209f5),_0x1209f5[_0x3d5a78(0x174)]=this[_0x3d5a78(0x17e)],_0x55f09a[_0x3d5a78(0x179)](_0x1209f5);}}function _0x45d4(_0x3036f5,_0x1630db){const _0x236d65=_0x236d();return _0x45d4=function(_0x45d4f5,_0xeabc21){_0x45d4f5=_0x45d4f5-0x173;let _0x2e66da=_0x236d65[_0x45d4f5];return _0x2e66da;},_0x45d4(_0x3036f5,_0x1630db);}function _0x236d(){const _0x3b2de8=['push','115057bqnKVV','18208YtGKrM','112axQEIu','shift','_operationName','10gFQPYh','12igrcdn','compress','10RihJXw','decompress','234012bsohzu','4096445hitSFf','buffers','1543788gAEnYu','4460304NhEvpn','__className','27497151pgZDQH','_protobufDescriptor','types','_id'];_0x236d=function(){return _0x3b2de8;};return _0x236d();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x15e6(){const _0x3b20b8=['finish','4708071pzOAGk','create','toObject','1351248YAKUPI','24154GxzDlP','45AedWVY','getDescriptor','encode','_protobufRoot','decompress','_protobuf','4BaaOWf','verify','5362427qdpbTw','compress','8avHONZ','3777300MDbtSu','decode','980454NytMoc','9318750cVjMIF'];_0x15e6=function(){return _0x3b20b8;};return _0x15e6();}const _0x54785f=_0x29b9;function _0x29b9(_0x53cfb3,_0x2d7f0c){const _0x15e669=_0x15e6();return _0x29b9=function(_0x29b9da,_0x3ac5e1){_0x29b9da=_0x29b9da-0x1c1;let _0x5d9add=_0x15e669[_0x29b9da];return _0x5d9add;},_0x29b9(_0x53cfb3,_0x2d7f0c);}(function(_0x42f5b9,_0x219966){const _0x5e0d2c=_0x29b9,_0x3414e5=_0x42f5b9();while(!![]){try{const _0x56d5d1=parseInt(_0x5e0d2c(0x1cc))/0x1*(parseInt(_0x5e0d2c(0x1cb))/0x2)+parseInt(_0x5e0d2c(0x1c4))/0x3*(-parseInt(_0x5e0d2c(0x1d2))/0x4)+parseInt(_0x5e0d2c(0x1c2))/0x5+parseInt(_0x5e0d2c(0x1ca))/0x6+parseInt(_0x5e0d2c(0x1d4))/0x7+parseInt(_0x5e0d2c(0x1c1))/0x8*(-parseInt(_0x5e0d2c(0x1c7))/0x9)+-parseInt(_0x5e0d2c(0x1c5))/0xa;if(_0x56d5d1===_0x219966)break;else _0x3414e5['push'](_0x3414e5['shift']());}catch(_0x646c0f){_0x3414e5['push'](_0x3414e5['shift']());}}}(_0x15e6,0x7c1de));import{messages as _0x35662b}from'./lib/compiledmessages.js';export default class r{[_0x54785f(0x1cf)];constructor(){const _0x118225=_0x54785f;this[_0x118225(0x1cf)]=_0x35662b;}[_0x54785f(0x1cd)](_0x316690){const _0x1ab18a=_0x54785f;return new ProtobufDescriptor(this[_0x1ab18a(0x1cf)][_0x316690]);}}export class ProtobufDescriptor{[_0x54785f(0x1d1)];constructor(_0x2e885b){const _0x1363a0=_0x54785f;this[_0x1363a0(0x1d1)]=_0x2e885b;}[_0x54785f(0x1d5)](_0x44a75e){const _0x1c4855=_0x54785f,_0xa5a9a1=this[_0x1c4855(0x1d1)][_0x1c4855(0x1d3)](_0x44a75e);if(_0xa5a9a1)throw Error(_0xa5a9a1);return this[_0x1c4855(0x1d1)][_0x1c4855(0x1ce)](this[_0x1c4855(0x1d1)][_0x1c4855(0x1c8)](_0x44a75e))[_0x1c4855(0x1c6)]();}[_0x54785f(0x1d0)](_0x198911){const _0x5204f9=_0x54785f;return this[_0x5204f9(0x1d1)][_0x5204f9(0x1c9)](this[_0x5204f9(0x1d1)][_0x5204f9(0x1c3)](_0x198911),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x57eba6,_0x6f62e6){const _0x6698e3=_0x49de,_0x59c7e0=_0x57eba6();while(!![]){try{const _0xf401f6=-parseInt(_0x6698e3(0xfa))/0x1+-parseInt(_0x6698e3(0xff))/0x2*(parseInt(_0x6698e3(0x105))/0x3)+parseInt(_0x6698e3(0x108))/0x4+-parseInt(_0x6698e3(0xfb))/0x5+parseInt(_0x6698e3(0xfc))/0x6+-parseInt(_0x6698e3(0xfd))/0x7+parseInt(_0x6698e3(0xf9))/0x8;if(_0xf401f6===_0x6f62e6)break;else _0x59c7e0['push'](_0x59c7e0['shift']());}catch(_0x4e1eb8){_0x59c7e0['push'](_0x59c7e0['shift']());}}}(_0xc0cb,0x1d2d2));import{cloneDeep as _0xac862f,isEqual as _0x1ea5af,isObject as _0x4043fc}from'es-toolkit/compat';function _0xc0cb(){const _0x2d4a9f=['nodes','329120OiTdAN','2858848UXPdNH','213526hkrIPc','880835cBooiM','1078788eQvBRF','590716NFixAu','length','2lrjcHH','main','rootGraveyard','$graveyard','root','path','77541cGIRZh','rootMain'];_0xc0cb=function(){return _0x2d4a9f;};return _0xc0cb();}export function getPositionShiftedBy(_0x255d12,_0x5bc55c){const _0x928165=_0x49de,_0x270023=_0xac862f(_0x255d12);return _0x270023[_0x928165(0x104)][_0x270023[_0x928165(0x104)][_0x928165(0xfe)]-0x1]+=_0x5bc55c,_0x270023;}export function arePositionsEqual(_0x361634,_0x3cb869){const _0x29922e=_0x49de;return _0x361634[_0x29922e(0x103)]===_0x3cb869[_0x29922e(0x103)]&&_0x1ea5af(_0x361634[_0x29922e(0x104)],_0x3cb869[_0x29922e(0x104)]);}export function parsePositionBeforeCompression(_0x50506c){const _0x45b2aa=_0x49de;P(_0x50506c,_0x4b81d8=>(_0x45b2aa(0x100)==_0x4b81d8[_0x45b2aa(0x103)]?(_0x4b81d8[_0x45b2aa(0x106)]=!0x0,delete _0x4b81d8[_0x45b2aa(0x103)]):_0x45b2aa(0x102)==_0x4b81d8[_0x45b2aa(0x103)]&&(_0x4b81d8[_0x45b2aa(0x101)]=!0x0,delete _0x4b81d8[_0x45b2aa(0x103)]),_0x4b81d8));}function _0x49de(_0xaa4319,_0x316406){const _0xc0cb79=_0xc0cb();return _0x49de=function(_0x49de3b,_0x32b513){_0x49de3b=_0x49de3b-0xf9;let _0xd6006d=_0xc0cb79[_0x49de3b];return _0xd6006d;},_0x49de(_0xaa4319,_0x316406);}export function parsePositionAfterCompression(_0x5b7356){const _0x1b7b64=_0x49de;P(_0x5b7356,_0x458250=>(_0x458250[_0x1b7b64(0x106)]?(_0x458250[_0x1b7b64(0x103)]=_0x1b7b64(0x100),delete _0x458250[_0x1b7b64(0x106)]):_0x458250[_0x1b7b64(0x101)]&&(_0x458250[_0x1b7b64(0x103)]=_0x1b7b64(0x102),delete _0x458250[_0x1b7b64(0x101)]),_0x458250));}function P(_0x1fe0bb,_0x5b5871){const _0x54328c=_0x49de;for(const _0x44db23 in _0x1fe0bb){const _0xe75311=_0x1fe0bb[_0x44db23];_0x54328c(0x107)!==_0x44db23&&_0x4043fc(_0xe75311)&&(_0xe75311[_0x54328c(0x104)]&&(_0xe75311[_0x54328c(0x103)]||_0xe75311[_0x54328c(0x106)]||_0xe75311[_0x54328c(0x101)])?_0x1fe0bb[_0x44db23]=_0x5b5871(_0xe75311):P(_0xe75311,_0x5b5871));}return _0x1fe0bb;}
|