@ckeditor/ckeditor5-operations-compressor 43.2.0-alpha.0 → 43.2.0-alpha.2
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
|
-
const
|
|
23
|
+
const _0x2dd3dc=_0x1dc0;(function(_0x93daf3,_0x168a6b){const _0x1f90c=_0x1dc0,_0x38ddd4=_0x93daf3();while(!![]){try{const _0x4f917a=-parseInt(_0x1f90c(0x157))/0x1*(parseInt(_0x1f90c(0x15b))/0x2)+-parseInt(_0x1f90c(0x161))/0x3*(-parseInt(_0x1f90c(0x160))/0x4)+-parseInt(_0x1f90c(0x156))/0x5+-parseInt(_0x1f90c(0x159))/0x6*(parseInt(_0x1f90c(0x164))/0x7)+-parseInt(_0x1f90c(0x155))/0x8*(-parseInt(_0x1f90c(0x15d))/0x9)+parseInt(_0x1f90c(0x154))/0xa*(-parseInt(_0x1f90c(0x15f))/0xb)+parseInt(_0x1f90c(0x158))/0xc*(parseInt(_0x1f90c(0x15a))/0xd);if(_0x4f917a===_0x168a6b)break;else _0x38ddd4['push'](_0x38ddd4['shift']());}catch(_0x25863b){_0x38ddd4['push'](_0x38ddd4['shift']());}}}(_0x5ce3,0x41bec));function _0x1dc0(_0x1e69b9,_0x4aafe4){const _0x5ce36e=_0x5ce3();return _0x1dc0=function(_0x1dc006,_0x5ee8d4){_0x1dc006=_0x1dc006-0x154;let _0x5586a3=_0x5ce36e[_0x1dc006];return _0x5586a3;},_0x1dc0(_0x1e69b9,_0x4aafe4);}import _0x3147c3 from'./operationcompressor.js';function _0x5ce3(){const _0x25134e=['newRange','1760OksRMU','828sxqruJ','6294KAFtPK','decompress','oldRange','7lgGCdr','1320OxZWWq','8LFBEqs','745350ylnyaw','431054LZoSWD','12zpaCtD','419316YwohtB','5375929mNOCEF','2hoGycG','length','833427skqzmf'];_0x5ce3=function(){return _0x25134e;};return _0x5ce3();}export default class n extends _0x3147c3{[_0x2dd3dc(0x162)](_0x206dd7,_0x376703){const _0x324ef7=_0x2dd3dc;super[_0x324ef7(0x162)](_0x206dd7,_0x376703);const _0x234c34=_0x206dd7[_0x206dd7[_0x324ef7(0x15c)]-0x1];_0x234c34[_0x324ef7(0x163)]||(_0x234c34[_0x324ef7(0x163)]=null),_0x234c34[_0x324ef7(0x15e)]||(_0x234c34[_0x324ef7(0x15e)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xefb9(_0x42dc59,_0x1ccee9){var _0x2c0008=_0x2c00();return _0xefb9=function(_0xefb9bc,_0x4ae467){_0xefb9bc=_0xefb9bc-0x163;var _0x43f724=_0x2c0008[_0xefb9bc];return _0x43f724;},_0xefb9(_0x42dc59,_0x1ccee9);}var _0xf67c75=_0xefb9;(function(_0x2277a7,_0x3ebb8f){var _0x40998e=_0xefb9,_0x5ef430=_0x2277a7();while(!![]){try{var _0x35ec64=-parseInt(_0x40998e(0x175))/0x1+-parseInt(_0x40998e(0x16b))/0x2*(-parseInt(_0x40998e(0x171))/0x3)+-parseInt(_0x40998e(0x169))/0x4*(parseInt(_0x40998e(0x16d))/0x5)+-parseInt(_0x40998e(0x16a))/0x6*(-parseInt(_0x40998e(0x163))/0x7)+parseInt(_0x40998e(0x174))/0x8*(-parseInt(_0x40998e(0x167))/0x9)+-parseInt(_0x40998e(0x164))/0xa+-parseInt(_0x40998e(0x166))/0xb*(-parseInt(_0x40998e(0x168))/0xc);if(_0x35ec64===_0x3ebb8f)break;else _0x5ef430['push'](_0x5ef430['shift']());}catch(_0x2b9c93){_0x5ef430['push'](_0x5ef430['shift']());}}}(_0x2c00,0x798c1));import _0x141724 from'./operationcompressor.js';function _0x2c00(){var _0x4592a2=['types','5hUQJJZ','_operationName','compress','_id','119349IHLxZY','decompress','push','6789104eIAefT','293087YoukUb','511rypRJP','9898930ThbXvo','shift','701899sdRgEo','9gXAZNX','576qSOsdp','3273396OTIqbr','15294QwAEEs','10nVOkmG'];_0x2c00=function(){return _0x4592a2;};return _0x2c00();}export default class p extends _0x141724{[_0xf67c75(0x16f)](_0x5908c9,_0x5ce6a4){var _0x18090a=_0xf67c75;return _0x5ce6a4[_0x18090a(0x165)](),_0x5908c9[_0x18090a(0x16c)][_0x18090a(0x173)](this[_0x18090a(0x170)]),!0x0;}[_0xf67c75(0x172)](_0x1348c7,_0x475215){var _0x5b69d9=_0xf67c75;_0x475215[_0x5b69d9(0x16c)][_0x5b69d9(0x165)](),_0x1348c7[_0x5b69d9(0x173)]({'__className':this[_0x5b69d9(0x16e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4c61(_0x30874b,_0x3ce8d5){const _0x5a4834=_0x5a48();return _0x4c61=function(_0x4c6154,_0x592b14){_0x4c6154=_0x4c6154-0x1c0;let _0x14b607=_0x5a4834[_0x4c6154];return _0x14b607;},_0x4c61(_0x30874b,_0x3ce8d5);}const _0x3837cd=_0x4c61;function _0x5a48(){const _0x4c34b3=['decompress','__className','5UNKxqw','push','672000YHMbOG','types','_operationName','_id','compress','_protobufDescriptor','42264buvoJm','120WBlDBq','11896VPpVna','10ocHsQv','1826066breuRS','2090454fnbPkp','299835xQVSpv','179176iHUUdF','buffers','42fPeypw','shift'];_0x5a48=function(){return _0x4c34b3;};return _0x5a48();}(function(_0x4ebf04,_0x4755fc){const _0x1be2d2=_0x4c61,_0xe2acf6=_0x4ebf04();while(!![]){try{const _0x1c1da6=-parseInt(_0x1be2d2(0x1c9))/0x1+-parseInt(_0x1be2d2(0x1c5))/0x2*(-parseInt(_0x1be2d2(0x1cc))/0x3)+parseInt(_0x1be2d2(0x1ca))/0x4*(-parseInt(_0x1be2d2(0x1d0))/0x5)+parseInt(_0x1be2d2(0x1c8))/0x6+-parseInt(_0x1be2d2(0x1d2))/0x7+parseInt(_0x1be2d2(0x1c4))/0x8*(parseInt(_0x1be2d2(0x1c3))/0x9)+-parseInt(_0x1be2d2(0x1c6))/0xa*(-parseInt(_0x1be2d2(0x1c7))/0xb);if(_0x1c1da6===_0x4755fc)break;else _0xe2acf6['push'](_0xe2acf6['shift']());}catch(_0x125abc){_0xe2acf6['push'](_0xe2acf6['shift']());}}}(_0x5a48,0x378aa));import{parsePositionBeforeCompression as _0x2020dc,parsePositionAfterCompression as _0x3e0fb8}from'../utils.js';export default class e{constructor(_0x36ffe5,_0x3a93ac,_0x577590){const _0x3dbfa4=_0x4c61;this[_0x3dbfa4(0x1c0)]=_0x36ffe5,this[_0x3dbfa4(0x1d4)]=_0x3a93ac,this[_0x3dbfa4(0x1c2)]=_0x577590;}[_0x3837cd(0x1c1)](_0x16bff7,_0x369ada){const _0x2ab844=_0x3837cd,_0x3da076=_0x369ada[_0x2ab844(0x1cd)]();return _0x2020dc(_0x3da076),_0x16bff7[_0x2ab844(0x1cb)][_0x2ab844(0x1d1)](this[_0x2ab844(0x1c2)][_0x2ab844(0x1c1)](_0x3da076)),_0x16bff7[_0x2ab844(0x1d3)][_0x2ab844(0x1d1)](this[_0x2ab844(0x1c0)]),!0x0;}[_0x3837cd(0x1ce)](_0x18485b,_0x268308){const _0x528edc=_0x3837cd;_0x268308[_0x528edc(0x1d3)][_0x528edc(0x1cd)]();const _0x4a8181=this[_0x528edc(0x1c2)][_0x528edc(0x1ce)](_0x268308[_0x528edc(0x1cb)][_0x528edc(0x1cd)]());_0x3e0fb8(_0x4a8181),_0x4a8181[_0x528edc(0x1cf)]=this[_0x528edc(0x1d4)],_0x18485b[_0x528edc(0x1d1)](_0x4a8181);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ca8be=_0x363b;(function(_0x137c64,_0x1633d6){const _0x388c42=_0x363b,_0x48b723=_0x137c64();while(!![]){try{const _0x1b2bd4=parseInt(_0x388c42(0x164))/0x1*(-parseInt(_0x388c42(0x15a))/0x2)+-parseInt(_0x388c42(0x158))/0x3*(parseInt(_0x388c42(0x152))/0x4)+parseInt(_0x388c42(0x15c))/0x5+parseInt(_0x388c42(0x15e))/0x6*(parseInt(_0x388c42(0x160))/0x7)+parseInt(_0x388c42(0x15d))/0x8+parseInt(_0x388c42(0x15f))/0x9*(parseInt(_0x388c42(0x157))/0xa)+-parseInt(_0x388c42(0x15b))/0xb*(-parseInt(_0x388c42(0x150))/0xc);if(_0x1b2bd4===_0x1633d6)break;else _0x48b723['push'](_0x48b723['shift']());}catch(_0x3c597e){_0x48b723['push'](_0x48b723['shift']());}}}(_0xca88,0x2c111));function _0x363b(_0x565926,_0x38ec8a){const _0xca882b=_0xca88();return _0x363b=function(_0x363be0,_0x2357bd){_0x363be0=_0x363be0-0x14e;let _0x151c48=_0xca882b[_0x363be0];return _0x151c48;},_0x363b(_0x565926,_0x38ec8a);}import{messages as _0x26b12d}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x42ecad=_0x363b;this[_0x42ecad(0x154)]=_0x26b12d;}[_0x4ca8be(0x163)](_0x3f39a8){const _0x18f670=_0x4ca8be;return new ProtobufDescriptor(this[_0x18f670(0x154)][_0x3f39a8]);}}function _0xca88(){const _0x1178a0=['44303wtvKmc','decompress','finish','getDescriptor','185YvVzbR','_protobuf','encode','674484QyuuUV','verify','4EdvsiC','decode','_protobufRoot','toObject','create','52980HiOLfl','604947BHXyNs','compress','2410lxWqxI','11WmJFlA','554525eVebGE','2708912vyhhPf','54XZTgtx','72jauqFd'];_0xca88=function(){return _0x1178a0;};return _0xca88();}export class ProtobufDescriptor{constructor(_0x1bb4ad){const _0xa74c50=_0x4ca8be;this[_0xa74c50(0x14e)]=_0x1bb4ad;}[_0x4ca8be(0x159)](_0xc4541d){const _0x2f299f=_0x4ca8be,_0x248c76=this[_0x2f299f(0x14e)][_0x2f299f(0x151)](_0xc4541d);if(_0x248c76)throw Error(_0x248c76);return this[_0x2f299f(0x14e)][_0x2f299f(0x14f)](this[_0x2f299f(0x14e)][_0x2f299f(0x156)](_0xc4541d))[_0x2f299f(0x162)]();}[_0x4ca8be(0x161)](_0x287288){const _0xb098fe=_0x4ca8be;return this[_0xb098fe(0x14e)][_0xb098fe(0x155)](this[_0xb098fe(0x14e)][_0xb098fe(0x153)](_0x287288),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4879(_0x1cf2d2,_0x3d85e0){const _0x186d57=_0x186d();return _0x4879=function(_0x487977,_0x22eb66){_0x487977=_0x487977-0x64;let _0xe5b8c2=_0x186d57[_0x487977];return _0xe5b8c2;},_0x4879(_0x1cf2d2,_0x3d85e0);}(function(_0xa348b3,_0x57e96f){const _0xe5f504=_0x4879,_0x1376d1=_0xa348b3();while(!![]){try{const _0x49984e=parseInt(_0xe5f504(0x75))/0x1*(-parseInt(_0xe5f504(0x71))/0x2)+parseInt(_0xe5f504(0x6d))/0x3*(parseInt(_0xe5f504(0x6c))/0x4)+parseInt(_0xe5f504(0x64))/0x5*(-parseInt(_0xe5f504(0x67))/0x6)+-parseInt(_0xe5f504(0x78))/0x7+parseInt(_0xe5f504(0x74))/0x8*(-parseInt(_0xe5f504(0x68))/0x9)+-parseInt(_0xe5f504(0x6f))/0xa*(-parseInt(_0xe5f504(0x77))/0xb)+-parseInt(_0xe5f504(0x70))/0xc*(-parseInt(_0xe5f504(0x6b))/0xd);if(_0x49984e===_0x57e96f)break;else _0x1376d1['push'](_0x1376d1['shift']());}catch(_0x111a75){_0x1376d1['push'](_0x1376d1['shift']());}}}(_0x186d,0xa051e));function _0x186d(){const _0x169625=['260SdImFE','rootMain','root','31794VZxCIP','62523ZHHkSX','path','length','43186hdBPLn','23792VRgGaE','3aIYwwM','rootGraveyard','8482090uCpbRo','5268elbwdO','2sKpKZB','nodes','main','184YHHpYZ','510064lOmyXc','$graveyard','11BFcher','4973164ubFiIs'];_0x186d=function(){return _0x169625;};return _0x186d();}import{cloneDeep as _0x3f20a3,isEqual as _0xac1f68,isObject as _0x39d6cb}from'lodash-es';export function getPositionShiftedBy(_0x207e40,_0x14b1c1){const _0x5c031e=_0x4879,_0x5711c4=_0x3f20a3(_0x207e40);return _0x5711c4[_0x5c031e(0x69)][_0x5711c4[_0x5c031e(0x69)][_0x5c031e(0x6a)]-0x1]+=_0x14b1c1,_0x5711c4;}export function arePositionsEqual(_0x4c5654,_0xa4a2c9){const _0x54e7f0=_0x4879;return _0x4c5654[_0x54e7f0(0x66)]===_0xa4a2c9[_0x54e7f0(0x66)]&&_0xac1f68(_0x4c5654[_0x54e7f0(0x69)],_0xa4a2c9[_0x54e7f0(0x69)]);}export function parsePositionBeforeCompression(_0x1385c0){const _0x54c599=_0x4879;P(_0x1385c0,_0x351ded=>(_0x54c599(0x73)==_0x351ded[_0x54c599(0x66)]?(_0x351ded[_0x54c599(0x65)]=!0x0,delete _0x351ded[_0x54c599(0x66)]):_0x54c599(0x76)==_0x351ded[_0x54c599(0x66)]&&(_0x351ded[_0x54c599(0x6e)]=!0x0,delete _0x351ded[_0x54c599(0x66)]),_0x351ded));}export function parsePositionAfterCompression(_0x2a3322){const _0x1c9681=_0x4879;P(_0x2a3322,_0x1bc3e6=>(_0x1bc3e6[_0x1c9681(0x65)]?(_0x1bc3e6[_0x1c9681(0x66)]=_0x1c9681(0x73),delete _0x1bc3e6[_0x1c9681(0x65)]):_0x1bc3e6[_0x1c9681(0x6e)]&&(_0x1bc3e6[_0x1c9681(0x66)]=_0x1c9681(0x76),delete _0x1bc3e6[_0x1c9681(0x6e)]),_0x1bc3e6));}function P(_0x5e079d,_0x18ad01){const _0x590e90=_0x4879;for(const _0x51fe72 in _0x5e079d){const _0x2829b1=_0x5e079d[_0x51fe72];_0x590e90(0x72)!==_0x51fe72&&_0x39d6cb(_0x2829b1)&&(_0x2829b1[_0x590e90(0x69)]&&(_0x2829b1[_0x590e90(0x66)]||_0x2829b1[_0x590e90(0x65)]||_0x2829b1[_0x590e90(0x6e)])?_0x5e079d[_0x51fe72]=_0x18ad01(_0x2829b1):P(_0x2829b1,_0x18ad01));}return _0x5e079d;}
|