@ckeditor/ckeditor5-operations-compressor 43.3.1-alpha.0 → 44.0.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/README.md +12 -6
- 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
|
-
function
|
|
23
|
+
function _0x22d1(){var _0x10dac6=['5zUBldl','14984JFmvjH','1638780mleMfs','_id','types','shift','_operationName','4467248UeCtym','1204FDghux','compress','4880025MZlldv','29676MnsZaw','1763186pdmAyQ','push','4217898wBcIDG','decompress'];_0x22d1=function(){return _0x10dac6;};return _0x22d1();}function _0x31a7(_0x4f048a,_0x3787ec){var _0x22d1af=_0x22d1();return _0x31a7=function(_0x31a763,_0x5dd2ac){_0x31a763=_0x31a763-0x1cf;var _0x325036=_0x22d1af[_0x31a763];return _0x325036;},_0x31a7(_0x4f048a,_0x3787ec);}var _0xfda875=_0x31a7;(function(_0x2016a5,_0x1219c3){var _0x405add=_0x31a7,_0x254b50=_0x2016a5();while(!![]){try{var _0x13a1d4=-parseInt(_0x405add(0x1d1))/0x1+-parseInt(_0x405add(0x1d2))/0x2+-parseInt(_0x405add(0x1d8))/0x3+parseInt(_0x405add(0x1dd))/0x4+-parseInt(_0x405add(0x1d6))/0x5*(-parseInt(_0x405add(0x1d4))/0x6)+-parseInt(_0x405add(0x1de))/0x7*(parseInt(_0x405add(0x1d7))/0x8)+parseInt(_0x405add(0x1d0))/0x9;if(_0x13a1d4===_0x1219c3)break;else _0x254b50['push'](_0x254b50['shift']());}catch(_0x2fe568){_0x254b50['push'](_0x254b50['shift']());}}}(_0x22d1,0x8e2bf));import _0x20d632 from'./operationcompressor.js';export default class p extends _0x20d632{[_0xfda875(0x1cf)](_0x48e95a,_0x4bd008){var _0x34c7c8=_0xfda875;return _0x4bd008[_0x34c7c8(0x1db)](),_0x48e95a[_0x34c7c8(0x1da)][_0x34c7c8(0x1d3)](this[_0x34c7c8(0x1d9)]),!0x0;}[_0xfda875(0x1d5)](_0x42d43d,_0x217047){var _0x4a2895=_0xfda875;_0x217047[_0x4a2895(0x1da)][_0x4a2895(0x1db)](),_0x42d43d[_0x4a2895(0x1d3)]({'__className':this[_0x4a2895(0x1dc)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36a6ce=_0x53ef;function _0x53ef(_0x5deb8d,_0x1349b0){const _0x50b2b5=_0x50b2();return _0x53ef=function(_0x53ef5a,_0x3abc0c){_0x53ef5a=_0x53ef5a-0x104;let _0x1ed969=_0x50b2b5[_0x53ef5a];return _0x1ed969;},_0x53ef(_0x5deb8d,_0x1349b0);}(function(_0x1c1048,_0x363df1){const _0x3e53d7=_0x53ef,_0x36ec43=_0x1c1048();while(!![]){try{const _0x4ddaa4=parseInt(_0x3e53d7(0x109))/0x1*(parseInt(_0x3e53d7(0x10a))/0x2)+-parseInt(_0x3e53d7(0x115))/0x3+parseInt(_0x3e53d7(0x10f))/0x4*(-parseInt(_0x3e53d7(0x10e))/0x5)+parseInt(_0x3e53d7(0x107))/0x6*(-parseInt(_0x3e53d7(0x110))/0x7)+-parseInt(_0x3e53d7(0x114))/0x8+-parseInt(_0x3e53d7(0x108))/0x9+parseInt(_0x3e53d7(0x10b))/0xa;if(_0x4ddaa4===_0x363df1)break;else _0x36ec43['push'](_0x36ec43['shift']());}catch(_0x36a30e){_0x36ec43['push'](_0x36ec43['shift']());}}}(_0x50b2,0xe159e));function _0x50b2(){const _0x486e07=['buffers','shift','__className','_operationName','_protobufDescriptor','137364oSxksd','1012266CTSWMa','1BsoXPQ','3086220zPHrgx','47106640xApuJP','_id','decompress','545RqJCmF','55348XlHwyI','455LqdXBz','compress','push','types','13871208VIVHOT','1464054WhojHT'];_0x50b2=function(){return _0x486e07;};return _0x50b2();}import{parsePositionBeforeCompression as _0x2525da,parsePositionAfterCompression as _0x54dd38}from'../utils.js';export default class e{constructor(_0x327d79,_0x1629b5,_0x1a4389){const _0x1a41c2=_0x53ef;this[_0x1a41c2(0x10c)]=_0x327d79,this[_0x1a41c2(0x105)]=_0x1629b5,this[_0x1a41c2(0x106)]=_0x1a4389;}[_0x36a6ce(0x111)](_0xb84d6a,_0x5a84ac){const _0x4c7304=_0x36a6ce,_0x114fb0=_0x5a84ac[_0x4c7304(0x117)]();return _0x2525da(_0x114fb0),_0xb84d6a[_0x4c7304(0x116)][_0x4c7304(0x112)](this[_0x4c7304(0x106)][_0x4c7304(0x111)](_0x114fb0)),_0xb84d6a[_0x4c7304(0x113)][_0x4c7304(0x112)](this[_0x4c7304(0x10c)]),!0x0;}[_0x36a6ce(0x10d)](_0x3cd6a7,_0x3df39b){const _0x2668f2=_0x36a6ce;_0x3df39b[_0x2668f2(0x113)][_0x2668f2(0x117)]();const _0x2af760=this[_0x2668f2(0x106)][_0x2668f2(0x10d)](_0x3df39b[_0x2668f2(0x116)][_0x2668f2(0x117)]());_0x54dd38(_0x2af760),_0x2af760[_0x2668f2(0x104)]=this[_0x2668f2(0x105)],_0x3cd6a7[_0x2668f2(0x112)](_0x2af760);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a87f2=_0x16bc;function _0x16bc(_0x11c7b7,_0x31dc91){const _0xe6429f=_0xe642();return _0x16bc=function(_0x16bcc5,_0x468ffb){_0x16bcc5=_0x16bcc5-0x110;let _0x58e0ab=_0xe6429f[_0x16bcc5];return _0x58e0ab;},_0x16bc(_0x11c7b7,_0x31dc91);}(function(_0x358743,_0x479873){const _0x3acb56=_0x16bc,_0x332cbb=_0x358743();while(!![]){try{const _0x393e7d=parseInt(_0x3acb56(0x11d))/0x1+-parseInt(_0x3acb56(0x11e))/0x2*(parseInt(_0x3acb56(0x111))/0x3)+-parseInt(_0x3acb56(0x116))/0x4+-parseInt(_0x3acb56(0x122))/0x5*(-parseInt(_0x3acb56(0x11b))/0x6)+-parseInt(_0x3acb56(0x123))/0x7*(parseInt(_0x3acb56(0x119))/0x8)+-parseInt(_0x3acb56(0x124))/0x9*(-parseInt(_0x3acb56(0x110))/0xa)+-parseInt(_0x3acb56(0x11c))/0xb;if(_0x393e7d===_0x479873)break;else _0x332cbb['push'](_0x332cbb['shift']());}catch(_0xd87d43){_0x332cbb['push'](_0x332cbb['shift']());}}}(_0xe642,0x85053));import{messages as _0x41ced6}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x3a7222=_0x16bc;this[_0x3a7222(0x114)]=_0x41ced6;}[_0x3a87f2(0x115)](_0x2153e1){const _0x291bbe=_0x3a87f2;return new ProtobufDescriptor(this[_0x291bbe(0x114)][_0x2153e1]);}}export class ProtobufDescriptor{constructor(_0x3710f9){const _0x2c9732=_0x3a87f2;this[_0x2c9732(0x121)]=_0x3710f9;}[_0x3a87f2(0x125)](_0xe9998d){const _0x56e75f=_0x3a87f2,_0x2f2d5a=this[_0x56e75f(0x121)][_0x56e75f(0x11a)](_0xe9998d);if(_0x2f2d5a)throw Error(_0x2f2d5a);return this[_0x56e75f(0x121)][_0x56e75f(0x117)](this[_0x56e75f(0x121)][_0x56e75f(0x112)](_0xe9998d))[_0x56e75f(0x120)]();}[_0x3a87f2(0x11f)](_0xe22405){const _0x4f78fb=_0x3a87f2;return this[_0x4f78fb(0x121)][_0x4f78fb(0x113)](this[_0x4f78fb(0x121)][_0x4f78fb(0x118)](_0xe22405),{'oneofs':!0x0});}}function _0xe642(){const _0x5c3784=['getDescriptor','3079028JZXqBz','encode','decode','1008200RQdlZz','verify','474rQikbb','1018765acRCeT','902780lRAzqa','566aXunGj','decompress','finish','_protobuf','64210UhhmsJ','7eFiKPJ','5674545HnBBAT','compress','10qDMtOp','10755QmrWtr','create','toObject','_protobufRoot'];_0xe642=function(){return _0x5c3784;};return _0xe642();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x477814,_0x1392a2){const _0x8f9fba=_0x159c,_0x33129f=_0x477814();while(!![]){try{const _0x4da5b9=-parseInt(_0x8f9fba(0x1a7))/0x1+-parseInt(_0x8f9fba(0x1ab))/0x2*(parseInt(_0x8f9fba(0x1a9))/0x3)+parseInt(_0x8f9fba(0x1aa))/0x4*(parseInt(_0x8f9fba(0x1b4))/0x5)+parseInt(_0x8f9fba(0x1ac))/0x6+parseInt(_0x8f9fba(0x1ae))/0x7+parseInt(_0x8f9fba(0x1af))/0x8*(-parseInt(_0x8f9fba(0x1ad))/0x9)+parseInt(_0x8f9fba(0x1b9))/0xa*(parseInt(_0x8f9fba(0x1b2))/0xb);if(_0x4da5b9===_0x1392a2)break;else _0x33129f['push'](_0x33129f['shift']());}catch(_0x56bcad){_0x33129f['push'](_0x33129f['shift']());}}}(_0x202d,0xae6c7));import{cloneDeep as _0x5cc405,isEqual as _0x5221fc,isObject as _0x5da109}from'lodash-es';export function getPositionShiftedBy(_0x16407d,_0x1f427a){const _0x2655cb=_0x159c,_0x222ea2=_0x5cc405(_0x16407d);return _0x222ea2[_0x2655cb(0x1a8)][_0x222ea2[_0x2655cb(0x1a8)][_0x2655cb(0x1b5)]-0x1]+=_0x1f427a,_0x222ea2;}function _0x159c(_0x4c4b5a,_0x318efe){const _0x202d43=_0x202d();return _0x159c=function(_0x159c6a,_0x3986da){_0x159c6a=_0x159c6a-0x1a7;let _0x2998f9=_0x202d43[_0x159c6a];return _0x2998f9;},_0x159c(_0x4c4b5a,_0x318efe);}export function arePositionsEqual(_0x445f33,_0x5ab465){const _0x5d19f2=_0x159c;return _0x445f33[_0x5d19f2(0x1b8)]===_0x5ab465[_0x5d19f2(0x1b8)]&&_0x5221fc(_0x445f33[_0x5d19f2(0x1a8)],_0x5ab465[_0x5d19f2(0x1a8)]);}export function parsePositionBeforeCompression(_0x185202){const _0xd91400=_0x159c;P(_0x185202,_0x305e2f=>(_0xd91400(0x1b6)==_0x305e2f[_0xd91400(0x1b8)]?(_0x305e2f[_0xd91400(0x1b0)]=!0x0,delete _0x305e2f[_0xd91400(0x1b8)]):_0xd91400(0x1b7)==_0x305e2f[_0xd91400(0x1b8)]&&(_0x305e2f[_0xd91400(0x1b3)]=!0x0,delete _0x305e2f[_0xd91400(0x1b8)]),_0x305e2f));}export function parsePositionAfterCompression(_0x405958){const _0x4e0c29=_0x159c;P(_0x405958,_0x1f25f9=>(_0x1f25f9[_0x4e0c29(0x1b0)]?(_0x1f25f9[_0x4e0c29(0x1b8)]=_0x4e0c29(0x1b6),delete _0x1f25f9[_0x4e0c29(0x1b0)]):_0x1f25f9[_0x4e0c29(0x1b3)]&&(_0x1f25f9[_0x4e0c29(0x1b8)]=_0x4e0c29(0x1b7),delete _0x1f25f9[_0x4e0c29(0x1b3)]),_0x1f25f9));}function _0x202d(){const _0x4caa3b=['3970euJuhi','664281OkXGdX','path','1158bXEKxP','53428cYdRFJ','4264lqsnWX','3069150zdDHpc','18rOjpAf','3743677PTEuLF','2788664HJiLUE','rootMain','nodes','44297deRrjs','rootGraveyard','95StbiDd','length','main','$graveyard','root'];_0x202d=function(){return _0x4caa3b;};return _0x202d();}function P(_0x25662a,_0x3bd234){const _0x17dcab=_0x159c;for(const _0x52895b in _0x25662a){const _0x58db87=_0x25662a[_0x52895b];_0x17dcab(0x1b1)!==_0x52895b&&_0x5da109(_0x58db87)&&(_0x58db87[_0x17dcab(0x1a8)]&&(_0x58db87[_0x17dcab(0x1b8)]||_0x58db87[_0x17dcab(0x1b0)]||_0x58db87[_0x17dcab(0x1b3)])?_0x25662a[_0x52895b]=_0x3bd234(_0x58db87):P(_0x58db87,_0x3bd234));}return _0x25662a;}
|