@ckeditor/ckeditor5-operations-compressor 45.2.1-alpha.4 → 45.2.1-alpha.5
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
|
+
function _0x1118(){const _0x5e088a=['8gFsMFA','52zjdPJc','354940jUqsgM','36gxeqnu','30xzXwRB','1666NpEGGG','oldRange','289037chcZBP','5kTnTrK','newRange','84wKxwZJ','1750194noieve','109071DFwimA','90696PwsgVN','599643zhJflx','decompress','length'];_0x1118=function(){return _0x5e088a;};return _0x1118();}const _0x158277=_0x2ec2;(function(_0x54ccc7,_0x57dd92){const _0x3ae6c1=_0x2ec2,_0x2c4f2c=_0x54ccc7();while(!![]){try{const _0x2eb9d9=-parseInt(_0x3ae6c1(0x165))/0x1+-parseInt(_0x3ae6c1(0x15e))/0x2*(-parseInt(_0x3ae6c1(0x163))/0x3)+-parseInt(_0x3ae6c1(0x15b))/0x4*(-parseInt(_0x3ae6c1(0x161))/0x5)+parseInt(_0x3ae6c1(0x15c))/0x6*(-parseInt(_0x3ae6c1(0x160))/0x7)+parseInt(_0x3ae6c1(0x159))/0x8*(parseInt(_0x3ae6c1(0x164))/0x9)+parseInt(_0x3ae6c1(0x15d))/0xa*(parseInt(_0x3ae6c1(0x167))/0xb)+-parseInt(_0x3ae6c1(0x166))/0xc*(-parseInt(_0x3ae6c1(0x15a))/0xd);if(_0x2eb9d9===_0x57dd92)break;else _0x2c4f2c['push'](_0x2c4f2c['shift']());}catch(_0x55b563){_0x2c4f2c['push'](_0x2c4f2c['shift']());}}}(_0x1118,0x23077));import _0x1604e7 from'./operationcompressor.js';function _0x2ec2(_0x126c91,_0x400a74){const _0x111882=_0x1118();return _0x2ec2=function(_0x2ec245,_0x2408fe){_0x2ec245=_0x2ec245-0x158;let _0x176095=_0x111882[_0x2ec245];return _0x176095;},_0x2ec2(_0x126c91,_0x400a74);}export default class n extends _0x1604e7{[_0x158277(0x168)](_0x124b40,_0x24c2f2){const _0x2d1771=_0x158277;super[_0x2d1771(0x168)](_0x124b40,_0x24c2f2);const _0x25ccdf=_0x124b40[_0x124b40[_0x2d1771(0x158)]-0x1];_0x25ccdf[_0x2d1771(0x15f)]||(_0x25ccdf[_0x2d1771(0x15f)]=null),_0x25ccdf[_0x2d1771(0x162)]||(_0x25ccdf[_0x2d1771(0x162)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x589ecc=_0xf857;(function(_0x34a764,_0x1c0a49){var _0x53f150=_0xf857,_0x2e755f=_0x34a764();while(!![]){try{var _0x3c5159=parseInt(_0x53f150(0x1c5))/0x1*(-parseInt(_0x53f150(0x1c8))/0x2)+-parseInt(_0x53f150(0x1bd))/0x3*(-parseInt(_0x53f150(0x1cb))/0x4)+parseInt(_0x53f150(0x1c3))/0x5*(parseInt(_0x53f150(0x1bf))/0x6)+-parseInt(_0x53f150(0x1bc))/0x7+-parseInt(_0x53f150(0x1c6))/0x8+parseInt(_0x53f150(0x1c9))/0x9+parseInt(_0x53f150(0x1ca))/0xa;if(_0x3c5159===_0x1c0a49)break;else _0x2e755f['push'](_0x2e755f['shift']());}catch(_0x3771b5){_0x2e755f['push'](_0x2e755f['shift']());}}}(_0x4a24,0x3fc9c));import _0x287108 from'./operationcompressor.js';function _0x4a24(){var _0x4e788b=['149CUcEms','173304EaTttP','_operationName','5714kNflKn','2331369FxJTmd','1525030iELaek','20000IROnwN','types','1946273QihiPe','300YzZLzy','compress','34674IdZKcM','shift','decompress','push','65hGQqlx','_id'];_0x4a24=function(){return _0x4e788b;};return _0x4a24();}function _0xf857(_0x9cc6ee,_0x1bd2ff){var _0x4a24f3=_0x4a24();return _0xf857=function(_0xf8577a,_0x2d0f33){_0xf8577a=_0xf8577a-0x1bb;var _0x276542=_0x4a24f3[_0xf8577a];return _0x276542;},_0xf857(_0x9cc6ee,_0x1bd2ff);}export default class p extends _0x287108{[_0x589ecc(0x1be)](_0x2607bd,_0x3756c5){var _0x108c19=_0x589ecc;return _0x3756c5[_0x108c19(0x1c0)](),_0x2607bd[_0x108c19(0x1bb)][_0x108c19(0x1c2)](this[_0x108c19(0x1c4)]),!0x0;}[_0x589ecc(0x1c1)](_0x4ed906,_0x286ef5){var _0x165870=_0x589ecc;_0x286ef5[_0x165870(0x1bb)][_0x165870(0x1c0)](),_0x4ed906[_0x165870(0x1c2)]({'__className':this[_0x165870(0x1c7)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x515796=_0x1db1;function _0x4c1c(){const _0x422397=['buffers','types','compress','push','300GayRku','495760kfCpFF','2941834wZfBSc','_operationName','4163958fztwwk','__className','shift','316WgddqW','60298NKqqdz','2228tFYwRP','decompress','_protobufDescriptor','549788VnHppx','1469bKhvlt','_id','9dTsCWP','10aDDKBh','200497qEnrIq','8RZldRi','24WKOqlc'];_0x4c1c=function(){return _0x422397;};return _0x4c1c();}function _0x1db1(_0x246628,_0x5df679){const _0x4c1c3e=_0x4c1c();return _0x1db1=function(_0x1db184,_0xa0d064){_0x1db184=_0x1db184-0x161;let _0xd09414=_0x4c1c3e[_0x1db184];return _0xd09414;},_0x1db1(_0x246628,_0x5df679);}(function(_0x561d91,_0x7ab5dd){const _0x4d296d=_0x1db1,_0x2a3d68=_0x561d91();while(!![]){try{const _0x86c07c=parseInt(_0x4d296d(0x173))/0x1*(parseInt(_0x4d296d(0x171))/0x2)+-parseInt(_0x4d296d(0x161))/0x3*(parseInt(_0x4d296d(0x176))/0x4)+parseInt(_0x4d296d(0x16b))/0x5*(parseInt(_0x4d296d(0x165))/0x6)+parseInt(_0x4d296d(0x16c))/0x7*(parseInt(_0x4d296d(0x164))/0x8)+parseInt(_0x4d296d(0x16e))/0x9*(-parseInt(_0x4d296d(0x162))/0xa)+parseInt(_0x4d296d(0x163))/0xb*(parseInt(_0x4d296d(0x16a))/0xc)+-parseInt(_0x4d296d(0x177))/0xd*(parseInt(_0x4d296d(0x172))/0xe);if(_0x86c07c===_0x7ab5dd)break;else _0x2a3d68['push'](_0x2a3d68['shift']());}catch(_0x5377cf){_0x2a3d68['push'](_0x2a3d68['shift']());}}}(_0x4c1c,0x402db));import{parsePositionBeforeCompression as _0x8dbacf,parsePositionAfterCompression as _0x1e6f01}from'../utils.js';export default class e{[_0x515796(0x178)];[_0x515796(0x16d)];[_0x515796(0x175)];constructor(_0x289f87,_0x2d68c5,_0x35ae82){const _0x408429=_0x515796;this[_0x408429(0x178)]=_0x289f87,this[_0x408429(0x16d)]=_0x2d68c5,this[_0x408429(0x175)]=_0x35ae82;}[_0x515796(0x168)](_0x5ae684,_0x33ca9f){const _0x59b9a7=_0x515796,_0x438cb0=_0x33ca9f[_0x59b9a7(0x170)]();return _0x8dbacf(_0x438cb0),_0x5ae684[_0x59b9a7(0x166)][_0x59b9a7(0x169)](this[_0x59b9a7(0x175)][_0x59b9a7(0x168)](_0x438cb0)),_0x5ae684[_0x59b9a7(0x167)][_0x59b9a7(0x169)](this[_0x59b9a7(0x178)]),!0x0;}[_0x515796(0x174)](_0x3895dd,_0x45c6d5){const _0x400534=_0x515796;_0x45c6d5[_0x400534(0x167)][_0x400534(0x170)]();const _0x131e7d=this[_0x400534(0x175)][_0x400534(0x174)](_0x45c6d5[_0x400534(0x166)][_0x400534(0x170)]());_0x1e6f01(_0x131e7d),_0x131e7d[_0x400534(0x16f)]=this[_0x400534(0x16d)],_0x3895dd[_0x400534(0x169)](_0x131e7d);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x50f6(_0x4535a3,_0x30c391){const _0x3ac1d0=_0x3ac1();return _0x50f6=function(_0x50f6f8,_0x244454){_0x50f6f8=_0x50f6f8-0xb6;let _0x159866=_0x3ac1d0[_0x50f6f8];return _0x159866;},_0x50f6(_0x4535a3,_0x30c391);}function _0x3ac1(){const _0x3a04b3=['finish','4303404CndGtP','345nVWlPP','compress','3222SeTGgS','_protobufRoot','348wYfeqc','24hkuhCA','3405051FKfWIz','51810FmdFFG','6395900JLFcwi','getDescriptor','toObject','979JfJewR','3036jwrrDO','verify','create','982nAGCar','decompress','358710cxTDvo','_protobuf','encode','decode'];_0x3ac1=function(){return _0x3a04b3;};return _0x3ac1();}const _0x1f6e82=_0x50f6;(function(_0x19de8c,_0x2b8664){const _0x247fc8=_0x50f6,_0x1f6a2b=_0x19de8c();while(!![]){try{const _0x1ebd1d=-parseInt(_0x247fc8(0xb9))/0x1*(-parseInt(_0x247fc8(0xbd))/0x2)+parseInt(_0x247fc8(0xcb))/0x3+-parseInt(_0x247fc8(0xb6))/0x4+-parseInt(_0x247fc8(0xc5))/0x5*(parseInt(_0x247fc8(0xba))/0x6)+parseInt(_0x247fc8(0xc4))/0x7*(-parseInt(_0x247fc8(0xca))/0x8)+-parseInt(_0x247fc8(0xc7))/0x9*(-parseInt(_0x247fc8(0xcc))/0xa)+-parseInt(_0x247fc8(0xbf))/0xb*(-parseInt(_0x247fc8(0xc9))/0xc);if(_0x1ebd1d===_0x2b8664)break;else _0x1f6a2b['push'](_0x1f6a2b['shift']());}catch(_0x34dc89){_0x1f6a2b['push'](_0x1f6a2b['shift']());}}}(_0x3ac1,0xe5005));import{messages as _0x2d00b8}from'./lib/compiledmessages.js';export default class r{[_0x1f6e82(0xc8)];constructor(){const _0x3c253f=_0x1f6e82;this[_0x3c253f(0xc8)]=_0x2d00b8;}[_0x1f6e82(0xb7)](_0x29a097){const _0x1634c2=_0x1f6e82;return new ProtobufDescriptor(this[_0x1634c2(0xc8)][_0x29a097]);}}export class ProtobufDescriptor{[_0x1f6e82(0xc0)];constructor(_0x54eed2){const _0x2575af=_0x1f6e82;this[_0x2575af(0xc0)]=_0x54eed2;}[_0x1f6e82(0xc6)](_0xa3969d){const _0x2e6bd2=_0x1f6e82,_0x5bee51=this[_0x2e6bd2(0xc0)][_0x2e6bd2(0xbb)](_0xa3969d);if(_0x5bee51)throw Error(_0x5bee51);return this[_0x2e6bd2(0xc0)][_0x2e6bd2(0xc1)](this[_0x2e6bd2(0xc0)][_0x2e6bd2(0xbc)](_0xa3969d))[_0x2e6bd2(0xc3)]();}[_0x1f6e82(0xbe)](_0x3c9560){const _0x3626e8=_0x1f6e82;return this[_0x3626e8(0xc0)][_0x3626e8(0xb8)](this[_0x3626e8(0xc0)][_0x3626e8(0xc2)](_0x3c9560),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x13cf(_0x3bd381,_0x23387d){const _0xb3cff4=_0xb3cf();return _0x13cf=function(_0x13cf9c,_0x10cc58){_0x13cf9c=_0x13cf9c-0x10c;let _0x5ebf67=_0xb3cff4[_0x13cf9c];return _0x5ebf67;},_0x13cf(_0x3bd381,_0x23387d);}(function(_0x13c46e,_0x20c3e8){const _0x1d31a5=_0x13cf,_0x4f82d8=_0x13c46e();while(!![]){try{const _0xc60cc7=-parseInt(_0x1d31a5(0x11a))/0x1+-parseInt(_0x1d31a5(0x10e))/0x2+-parseInt(_0x1d31a5(0x111))/0x3+-parseInt(_0x1d31a5(0x114))/0x4+parseInt(_0x1d31a5(0x110))/0x5+-parseInt(_0x1d31a5(0x115))/0x6*(parseInt(_0x1d31a5(0x117))/0x7)+parseInt(_0x1d31a5(0x113))/0x8;if(_0xc60cc7===_0x20c3e8)break;else _0x4f82d8['push'](_0x4f82d8['shift']());}catch(_0x4c30bc){_0x4f82d8['push'](_0x4f82d8['shift']());}}}(_0xb3cf,0x4b71b));import{cloneDeep as _0x2e4ed3,isEqual as _0x22f387,isObject as _0x405926}from'es-toolkit/compat';export function getPositionShiftedBy(_0x45d5a5,_0x2ff81e){const _0x3af228=_0x13cf,_0xb9916e=_0x2e4ed3(_0x45d5a5);return _0xb9916e[_0x3af228(0x118)][_0xb9916e[_0x3af228(0x118)][_0x3af228(0x119)]-0x1]+=_0x2ff81e,_0xb9916e;}export function arePositionsEqual(_0x29e9bb,_0x6933ac){const _0x43fce2=_0x13cf;return _0x29e9bb[_0x43fce2(0x112)]===_0x6933ac[_0x43fce2(0x112)]&&_0x22f387(_0x29e9bb[_0x43fce2(0x118)],_0x6933ac[_0x43fce2(0x118)]);}export function parsePositionBeforeCompression(_0xca34a1){const _0x37b138=_0x13cf;P(_0xca34a1,_0x1916e6=>(_0x37b138(0x10f)==_0x1916e6[_0x37b138(0x112)]?(_0x1916e6[_0x37b138(0x116)]=!0x0,delete _0x1916e6[_0x37b138(0x112)]):_0x37b138(0x10d)==_0x1916e6[_0x37b138(0x112)]&&(_0x1916e6[_0x37b138(0x10c)]=!0x0,delete _0x1916e6[_0x37b138(0x112)]),_0x1916e6));}function _0xb3cf(){const _0x28ee8b=['main','1856395DfdEDn','878361WRaSFG','root','10409552CspvbZ','957540nYccnG','66maPXxL','rootMain','186487amJzLY','path','length','103518iKcYsM','nodes','rootGraveyard','$graveyard','869426ijqusc'];_0xb3cf=function(){return _0x28ee8b;};return _0xb3cf();}export function parsePositionAfterCompression(_0x146641){const _0x20109e=_0x13cf;P(_0x146641,_0x109e48=>(_0x109e48[_0x20109e(0x116)]?(_0x109e48[_0x20109e(0x112)]=_0x20109e(0x10f),delete _0x109e48[_0x20109e(0x116)]):_0x109e48[_0x20109e(0x10c)]&&(_0x109e48[_0x20109e(0x112)]=_0x20109e(0x10d),delete _0x109e48[_0x20109e(0x10c)]),_0x109e48));}function P(_0x533fa8,_0x20bebf){const _0x4daf9d=_0x13cf;for(const _0x70e8e2 in _0x533fa8){const _0x5129a2=_0x533fa8[_0x70e8e2];_0x4daf9d(0x11b)!==_0x70e8e2&&_0x405926(_0x5129a2)&&(_0x5129a2[_0x4daf9d(0x118)]&&(_0x5129a2[_0x4daf9d(0x112)]||_0x5129a2[_0x4daf9d(0x116)]||_0x5129a2[_0x4daf9d(0x10c)])?_0x533fa8[_0x70e8e2]=_0x20bebf(_0x5129a2):P(_0x5129a2,_0x20bebf));}return _0x533fa8;}
|