@ckeditor/ckeditor5-operations-compressor 47.7.0 → 47.7.1
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 +4 -4
- 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/errors.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 _0x1d84b2=_0x2c64;function _0x404d(){const _0x942854=['27587YWhCmN','504XSebLC','oldRange','1071042jXpdvz','140628SBBrZL','length','decompress','714oZBZnV','861694IhbnSB','717360KxlAMN','187MLGUbo','newRange','1BdfcQI','102635lMzWEM','17154HmjNFs','48eODbJs'];_0x404d=function(){return _0x942854;};return _0x404d();}(function(_0x2f8816,_0x53350a){const _0x177ec3=_0x2c64,_0x4e05dc=_0x2f8816();while(!![]){try{const _0x383520=parseInt(_0x177ec3(0xa4))/0x1*(parseInt(_0x177ec3(0xb0))/0x2)+-parseInt(_0x177ec3(0xab))/0x3+parseInt(_0x177ec3(0xa7))/0x4*(-parseInt(_0x177ec3(0xa5))/0x5)+-parseInt(_0x177ec3(0xaf))/0x6*(-parseInt(_0x177ec3(0xa8))/0x7)+parseInt(_0x177ec3(0xa9))/0x8*(parseInt(_0x177ec3(0xa6))/0x9)+parseInt(_0x177ec3(0xb1))/0xa+-parseInt(_0x177ec3(0xb2))/0xb*(parseInt(_0x177ec3(0xac))/0xc);if(_0x383520===_0x53350a)break;else _0x4e05dc['push'](_0x4e05dc['shift']());}catch(_0x1f72c9){_0x4e05dc['push'](_0x4e05dc['shift']());}}}(_0x404d,0x46937));function _0x2c64(_0x8a59e1,_0x3f2096){const _0x404d45=_0x404d();return _0x2c64=function(_0x2c645d,_0x25a97c){_0x2c645d=_0x2c645d-0xa4;let _0x4d803b=_0x404d45[_0x2c645d];return _0x4d803b;},_0x2c64(_0x8a59e1,_0x3f2096);}import{OperationCompressor as _0x464394}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x464394{[_0x1d84b2(0xae)](_0x284e18,_0xea57f1){const _0x2a0c4a=_0x1d84b2;super[_0x2a0c4a(0xae)](_0x284e18,_0xea57f1);const _0x340f3d=_0x284e18[_0x284e18[_0x2a0c4a(0xad)]-0x1];_0x340f3d[_0x2a0c4a(0xaa)]||(_0x340f3d[_0x2a0c4a(0xaa)]=null),_0x340f3d[_0x2a0c4a(0xb3)]||(_0x340f3d[_0x2a0c4a(0xb3)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3681(){var _0x22e48b=['compress','3090015vNfNFf','_id','7THufHZ','194409YgDyfG','3523530muzWvq','push','types','decompress','79113GEBwJB','2597248VDCEDi','649192ZIUiUq','typeIndex','2185005rkrjlX','12MalhbF','index','_operationName'];_0x3681=function(){return _0x22e48b;};return _0x3681();}var _0x53d2f9=_0x1f25;(function(_0x40106b,_0x10d9cf){var _0x169be2=_0x1f25,_0x209a65=_0x40106b();while(!![]){try{var _0xd8eeed=-parseInt(_0x169be2(0x104))/0x1+-parseInt(_0x169be2(0x106))/0x2+-parseInt(_0x169be2(0xff))/0x3*(parseInt(_0x169be2(0xf8))/0x4)+parseInt(_0x169be2(0xf7))/0x5+parseInt(_0x169be2(0x100))/0x6+-parseInt(_0x169be2(0xfe))/0x7*(parseInt(_0x169be2(0x105))/0x8)+parseInt(_0x169be2(0xfc))/0x9;if(_0xd8eeed===_0x10d9cf)break;else _0x209a65['push'](_0x209a65['shift']());}catch(_0x146433){_0x209a65['push'](_0x209a65['shift']());}}}(_0x3681,0x6c991));function _0x1f25(_0x4ac2d8,_0x45a839){var _0x368120=_0x3681();return _0x1f25=function(_0x1f25b8,_0x1f0f5d){_0x1f25b8=_0x1f25b8-0xf7;var _0x3eef46=_0x368120[_0x1f25b8];return _0x3eef46;},_0x1f25(_0x4ac2d8,_0x45a839);}import{OperationCompressor as _0x32313d}from'./operationcompressor.js';export class NoOperationCompressor extends _0x32313d{[_0x53d2f9(0xfb)](_0x2b3178,_0x2cdab1){var _0x1aa394=_0x53d2f9;return _0x2cdab1[_0x1aa394(0xf9)]++,_0x2b3178[_0x1aa394(0x102)][_0x1aa394(0x101)](this[_0x1aa394(0xfd)]),!0x0;}[_0x53d2f9(0x103)](_0xf24b1d,_0x3cd1f1){var _0x48eb39=_0x53d2f9;_0x3cd1f1[_0x48eb39(0x107)]++,_0xf24b1d[_0x48eb39(0x101)]({'__className':this[_0x48eb39(0xfa)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18584a=_0xc3cb;function _0x680c(){const _0xd886f2=['123996CgXkQE','_operationName','bufferIndex','types','22CwOyJS','push','_protobufDescriptor','buffers','index','__className','10549Cdrqve','compress','decompress','_id','850532idYomI','1587592KqzaQA','typeIndex','1259965kXwDwd','2324160WCUgxG','operations','91TDVLCg','875583HinvPi'];_0x680c=function(){return _0xd886f2;};return _0x680c();}(function(_0x2256ae,_0x49b522){const _0xea28f1=_0xc3cb,_0x434e9b=_0x2256ae();while(!![]){try{const _0x54e9e2=-parseInt(_0xea28f1(0x158))/0x1*(-parseInt(_0xea28f1(0x152))/0x2)+parseInt(_0xea28f1(0x163))/0x3+-parseInt(_0xea28f1(0x15c))/0x4+-parseInt(_0xea28f1(0x15f))/0x5+-parseInt(_0xea28f1(0x164))/0x6*(-parseInt(_0xea28f1(0x162))/0x7)+parseInt(_0xea28f1(0x15d))/0x8+-parseInt(_0xea28f1(0x160))/0x9;if(_0x54e9e2===_0x49b522)break;else _0x434e9b['push'](_0x434e9b['shift']());}catch(_0x4d8948){_0x434e9b['push'](_0x434e9b['shift']());}}}(_0x680c,0x2524d));function _0xc3cb(_0x448b98,_0x1bc352){const _0x680cd3=_0x680c();return _0xc3cb=function(_0xc3cb9f,_0x3e0d39){_0xc3cb9f=_0xc3cb9f-0x152;let _0x5adbd0=_0x680cd3[_0xc3cb9f];return _0x5adbd0;},_0xc3cb(_0x448b98,_0x1bc352);}import{parsePositionBeforeCompression as _0x283e1a,parsePositionAfterCompression as _0x43112a}from'../utils.js';export class OperationCompressor{[_0x18584a(0x15b)];[_0x18584a(0x165)];[_0x18584a(0x154)];constructor(_0x2162c9,_0x13bb9b,_0x574e95){const _0x37746c=_0x18584a;this[_0x37746c(0x15b)]=_0x2162c9,this[_0x37746c(0x165)]=_0x13bb9b,this[_0x37746c(0x154)]=_0x574e95;}[_0x18584a(0x159)](_0x435ecb,_0x111fea){const _0x3ca220=_0x18584a,_0x4ba4a4=_0x111fea[_0x3ca220(0x161)][_0x111fea[_0x3ca220(0x156)]++];return _0x283e1a(_0x4ba4a4),_0x435ecb[_0x3ca220(0x155)][_0x3ca220(0x153)](this[_0x3ca220(0x154)][_0x3ca220(0x159)](_0x4ba4a4)),_0x435ecb[_0x3ca220(0x167)][_0x3ca220(0x153)](this[_0x3ca220(0x15b)]),!0x0;}[_0x18584a(0x15a)](_0x37b57c,_0x11fad7){const _0x5b02d5=_0x18584a;_0x11fad7[_0x5b02d5(0x15e)]++;const _0x1fc0cc=_0x11fad7[_0x5b02d5(0x155)][_0x11fad7[_0x5b02d5(0x166)]++],_0x5db4cf=this[_0x5b02d5(0x154)][_0x5b02d5(0x15a)](_0x1fc0cc);_0x43112a(_0x5db4cf),_0x5db4cf[_0x5b02d5(0x157)]=this[_0x5b02d5(0x165)],_0x37b57c[_0x5b02d5(0x153)](_0x5db4cf);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1173df=_0x29d0;function _0x6cea(){const _0x9258c1=['82730YGmznJ','86844RpScUk','toObject','26peogQJ','_protobufRoot','1419JLHdkv','14088HQJTBB','compress','create','decompress','_protobuf','3962992uBoFFT','decode','verify','encode','6567792EtnJWS','5OcNyjT','finish','1778jpZcKs','398466wJvAvd','getDescriptor','532728iFCdSL'];_0x6cea=function(){return _0x9258c1;};return _0x6cea();}(function(_0x5ac7de,_0x4dc989){const _0x4fc902=_0x29d0,_0x1cc117=_0x5ac7de();while(!![]){try{const _0x56509d=parseInt(_0x4fc902(0x18b))/0x1+parseInt(_0x4fc902(0x17b))/0x2*(-parseInt(_0x4fc902(0x179))/0x3)+-parseInt(_0x4fc902(0x183))/0x4*(-parseInt(_0x4fc902(0x188))/0x5)+parseInt(_0x4fc902(0x187))/0x6+parseInt(_0x4fc902(0x18a))/0x7*(-parseInt(_0x4fc902(0x17e))/0x8)+parseInt(_0x4fc902(0x177))/0x9+parseInt(_0x4fc902(0x178))/0xa*(-parseInt(_0x4fc902(0x17d))/0xb);if(_0x56509d===_0x4dc989)break;else _0x1cc117['push'](_0x1cc117['shift']());}catch(_0x1f0640){_0x1cc117['push'](_0x1cc117['shift']());}}}(_0x6cea,0x9f3ab));import{messages as _0x482600}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1173df(0x17c)];constructor(){const _0x434210=_0x1173df;this[_0x434210(0x17c)]=_0x482600;}[_0x1173df(0x176)](_0x53ead7){const _0x5d898f=_0x1173df;return new ProtobufDescriptor(this[_0x5d898f(0x17c)][_0x53ead7]);}}function _0x29d0(_0x4e23ee,_0x14ff89){const _0x6cea10=_0x6cea();return _0x29d0=function(_0x29d04c,_0x2c4f14){_0x29d04c=_0x29d04c-0x176;let _0x1dd1e6=_0x6cea10[_0x29d04c];return _0x1dd1e6;},_0x29d0(_0x4e23ee,_0x14ff89);}export class ProtobufDescriptor{[_0x1173df(0x182)];constructor(_0x4fee30){const _0x59a037=_0x1173df;this[_0x59a037(0x182)]=_0x4fee30;}[_0x1173df(0x17f)](_0x1c86ba){const _0x453fd2=_0x1173df,_0x4c6fb0=this[_0x453fd2(0x182)][_0x453fd2(0x185)](_0x1c86ba);if(_0x4c6fb0)throw Error(_0x4c6fb0);return this[_0x453fd2(0x182)][_0x453fd2(0x186)](this[_0x453fd2(0x182)][_0x453fd2(0x180)](_0x1c86ba))[_0x453fd2(0x189)]();}[_0x1173df(0x181)](_0xdaefed){const _0x278478=_0x1173df;return this[_0x278478(0x182)][_0x278478(0x17a)](this[_0x278478(0x182)][_0x278478(0x184)](_0xdaefed),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x38a30d,_0x138728){const _0x3faa6b=_0x6ffe,_0x28bf80=_0x38a30d();while(!![]){try{const _0x367434=-parseInt(_0x3faa6b(0x8b))/0x1*(parseInt(_0x3faa6b(0x8a))/0x2)+parseInt(_0x3faa6b(0x92))/0x3*(-parseInt(_0x3faa6b(0x95))/0x4)+-parseInt(_0x3faa6b(0x9d))/0x5+parseInt(_0x3faa6b(0x9a))/0x6*(parseInt(_0x3faa6b(0x8f))/0x7)+-parseInt(_0x3faa6b(0x8e))/0x8*(parseInt(_0x3faa6b(0x99))/0x9)+parseInt(_0x3faa6b(0x97))/0xa+parseInt(_0x3faa6b(0x96))/0xb*(parseInt(_0x3faa6b(0x94))/0xc);if(_0x367434===_0x138728)break;else _0x28bf80['push'](_0x28bf80['shift']());}catch(_0x23f46c){_0x28bf80['push'](_0x28bf80['shift']());}}}(_0x597a,0x39dbc));import{cloneDeep as _0xf4b71,isEqual as _0x1d4461,isObject as _0x15bfed}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1a1da0,_0x206d8a){const _0x16535b=_0x6ffe,_0x1696ea=_0xf4b71(_0x1a1da0);return _0x1696ea[_0x16535b(0x93)][_0x1696ea[_0x16535b(0x93)][_0x16535b(0x90)]-0x1]+=_0x206d8a,_0x1696ea;}export function arePositionsEqual(_0x4f2e24,_0x44d4d7){const _0x50945d=_0x6ffe;return _0x4f2e24[_0x50945d(0x8d)]===_0x44d4d7[_0x50945d(0x8d)]&&_0x1d4461(_0x4f2e24[_0x50945d(0x93)],_0x44d4d7[_0x50945d(0x93)]);}function _0x597a(){const _0x10f891=['root','8tgmQmL','7lQoNcr','length','rootGraveyard','36eHQCAF','path','402684gWIqXk','75796gyYnrA','297TtWoaG','1595970PkwgXM','rootMain','1945179oDVdsn','1272360gYTdkr','$graveyard','main','1872380ZrMZmb','2mYgsIf','222713CUdJPx','nodes'];_0x597a=function(){return _0x10f891;};return _0x597a();}function _0x6ffe(_0x16c968,_0x5de1db){const _0x597abe=_0x597a();return _0x6ffe=function(_0x6ffe57,_0x49b5d7){_0x6ffe57=_0x6ffe57-0x8a;let _0x471cd3=_0x597abe[_0x6ffe57];return _0x471cd3;},_0x6ffe(_0x16c968,_0x5de1db);}export function parsePositionBeforeCompression(_0x15d4f6){const _0x4b0f15=_0x6ffe;P(_0x15d4f6,_0x334a34=>(_0x4b0f15(0x9c)==_0x334a34[_0x4b0f15(0x8d)]?(_0x334a34[_0x4b0f15(0x98)]=!0x0,delete _0x334a34[_0x4b0f15(0x8d)]):_0x4b0f15(0x9b)==_0x334a34[_0x4b0f15(0x8d)]&&(_0x334a34[_0x4b0f15(0x91)]=!0x0,delete _0x334a34[_0x4b0f15(0x8d)]),_0x334a34));}export function parsePositionAfterCompression(_0x5cb785){const _0x3cde71=_0x6ffe;P(_0x5cb785,_0x319d04=>(_0x319d04[_0x3cde71(0x98)]?(_0x319d04[_0x3cde71(0x8d)]=_0x3cde71(0x9c),delete _0x319d04[_0x3cde71(0x98)]):_0x319d04[_0x3cde71(0x91)]&&(_0x319d04[_0x3cde71(0x8d)]=_0x3cde71(0x9b),delete _0x319d04[_0x3cde71(0x91)]),_0x319d04));}function P(_0x5e8f10,_0x5e33cc){const _0x45dc0c=_0x6ffe;for(const _0x2e6d0d in _0x5e8f10){const _0x275f34=_0x5e8f10[_0x2e6d0d];_0x45dc0c(0x8c)!==_0x2e6d0d&&_0x15bfed(_0x275f34)&&(_0x275f34[_0x45dc0c(0x93)]&&(_0x275f34[_0x45dc0c(0x8d)]||_0x275f34[_0x45dc0c(0x98)]||_0x275f34[_0x45dc0c(0x91)])?_0x5e8f10[_0x2e6d0d]=_0x5e33cc(_0x275f34):P(_0x275f34,_0x5e33cc));}return _0x5e8f10;}
|