@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.6 → 46.0.1-alpha.8
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 _0x49b5(){var _0x697d99=['push','405090ExgmeO','_operationName','2460736ZRDBnF','2847606AhiVAa','decompress','20bbRUFV','compress','10188528wPcnvZ','shift','types','99HqaQQt','3998025lzWSCI','2608048ANrLxR','482676itwtky','_id'];_0x49b5=function(){return _0x697d99;};return _0x49b5();}function _0x4022(_0x41c19b,_0x2274c2){var _0x49b52c=_0x49b5();return _0x4022=function(_0x4022b5,_0x8c37a2){_0x4022b5=_0x4022b5-0xfd;var _0x56824d=_0x49b52c[_0x4022b5];return _0x56824d;},_0x4022(_0x41c19b,_0x2274c2);}var _0x51a257=_0x4022;(function(_0x3472a6,_0x39ea79){var _0x1b97cd=_0x4022,_0x2c5c64=_0x3472a6();while(!![]){try{var _0x1a8df5=parseInt(_0x1b97cd(0x103))/0x1+-parseInt(_0x1b97cd(0x109))/0x2+-parseInt(_0x1b97cd(0x101))/0x3+parseInt(_0x1b97cd(0x108))/0x4+-parseInt(_0x1b97cd(0x10b))/0x5*(-parseInt(_0x1b97cd(0x106))/0x6)+-parseInt(_0x1b97cd(0xfd))/0x7+parseInt(_0x1b97cd(0x102))/0x8*(parseInt(_0x1b97cd(0x100))/0x9);if(_0x1a8df5===_0x39ea79)break;else _0x2c5c64['push'](_0x2c5c64['shift']());}catch(_0x8030b4){_0x2c5c64['push'](_0x2c5c64['shift']());}}}(_0x49b5,0xb5274));import{OperationCompressor as _0x4a4fdc}from'./operationcompressor.js';export class NoOperationCompressor extends _0x4a4fdc{[_0x51a257(0x10c)](_0x836d10,_0x388382){var _0x210bd8=_0x51a257;return _0x388382[_0x210bd8(0xfe)](),_0x836d10[_0x210bd8(0xff)][_0x210bd8(0x105)](this[_0x210bd8(0x104)]),!0x0;}[_0x51a257(0x10a)](_0xfc7442,_0x29f552){var _0x167064=_0x51a257;_0x29f552[_0x167064(0xff)][_0x167064(0xfe)](),_0xfc7442[_0x167064(0x105)]({'__className':this[_0x167064(0x107)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x164354=_0x51d0;function _0x51d0(_0x15da9a,_0x1c72a4){const _0x4c431d=_0x4c43();return _0x51d0=function(_0x51d063,_0x538d6e){_0x51d063=_0x51d063-0xee;let _0x18c78c=_0x4c431d[_0x51d063];return _0x18c78c;},_0x51d0(_0x15da9a,_0x1c72a4);}(function(_0x116b2d,_0x3da653){const _0x3ea84a=_0x51d0,_0x114685=_0x116b2d();while(!![]){try{const _0x38125b=parseInt(_0x3ea84a(0xfa))/0x1*(parseInt(_0x3ea84a(0xfd))/0x2)+parseInt(_0x3ea84a(0xff))/0x3+-parseInt(_0x3ea84a(0xfc))/0x4+parseInt(_0x3ea84a(0xf9))/0x5+-parseInt(_0x3ea84a(0x100))/0x6*(parseInt(_0x3ea84a(0xf6))/0x7)+-parseInt(_0x3ea84a(0xf7))/0x8+-parseInt(_0x3ea84a(0xf0))/0x9*(-parseInt(_0x3ea84a(0xf2))/0xa);if(_0x38125b===_0x3da653)break;else _0x114685['push'](_0x114685['shift']());}catch(_0x3b55e6){_0x114685['push'](_0x114685['shift']());}}}(_0x4c43,0xc5b7c));import{parsePositionBeforeCompression as _0x3c3803,parsePositionAfterCompression as _0x6e5dd}from'../utils.js';function _0x4c43(){const _0x40fb1d=['66561CvhmWe','__className','5316540tyPjwE','34JATmLl','_protobufDescriptor','1559199TPJsip','4382178GvInib','buffers','_operationName','_id','3461256BxVwUN','decompress','40udxaJK','push','compress','shift','7sZBwEz','5209288UKMARt','types','1654525SuvwEv'];_0x4c43=function(){return _0x40fb1d;};return _0x4c43();}export class OperationCompressor{[_0x164354(0xef)];[_0x164354(0xee)];[_0x164354(0xfe)];constructor(_0x4867d9,_0x2f088d,_0x3d8376){const _0x505aba=_0x164354;this[_0x505aba(0xef)]=_0x4867d9,this[_0x505aba(0xee)]=_0x2f088d,this[_0x505aba(0xfe)]=_0x3d8376;}[_0x164354(0xf4)](_0x1cf7fc,_0x2d55a3){const _0x34ad57=_0x164354,_0x18b3fd=_0x2d55a3[_0x34ad57(0xf5)]();return _0x3c3803(_0x18b3fd),_0x1cf7fc[_0x34ad57(0x101)][_0x34ad57(0xf3)](this[_0x34ad57(0xfe)][_0x34ad57(0xf4)](_0x18b3fd)),_0x1cf7fc[_0x34ad57(0xf8)][_0x34ad57(0xf3)](this[_0x34ad57(0xef)]),!0x0;}[_0x164354(0xf1)](_0x4ead58,_0x212868){const _0x295c6d=_0x164354;_0x212868[_0x295c6d(0xf8)][_0x295c6d(0xf5)]();const _0x1c55b5=this[_0x295c6d(0xfe)][_0x295c6d(0xf1)](_0x212868[_0x295c6d(0x101)][_0x295c6d(0xf5)]());_0x6e5dd(_0x1c55b5),_0x1c55b5[_0x295c6d(0xfb)]=this[_0x295c6d(0xee)],_0x4ead58[_0x295c6d(0xf3)](_0x1c55b5);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b545c=_0x4dc3;function _0x4dc3(_0x12c0ee,_0x17976b){const _0x3ff1e7=_0x3ff1();return _0x4dc3=function(_0x4dc3e1,_0xff080){_0x4dc3e1=_0x4dc3e1-0xf0;let _0x4c91c7=_0x3ff1e7[_0x4dc3e1];return _0x4c91c7;},_0x4dc3(_0x12c0ee,_0x17976b);}(function(_0x4d796c,_0x2f08d4){const _0x35feaa=_0x4dc3,_0x1dc9cf=_0x4d796c();while(!![]){try{const _0x41a25e=-parseInt(_0x35feaa(0x106))/0x1+-parseInt(_0x35feaa(0xf5))/0x2*(-parseInt(_0x35feaa(0xfb))/0x3)+parseInt(_0x35feaa(0xfd))/0x4*(-parseInt(_0x35feaa(0xf2))/0x5)+-parseInt(_0x35feaa(0xf1))/0x6*(-parseInt(_0x35feaa(0xf8))/0x7)+-parseInt(_0x35feaa(0xfe))/0x8+-parseInt(_0x35feaa(0x102))/0x9*(parseInt(_0x35feaa(0xf3))/0xa)+parseInt(_0x35feaa(0x105))/0xb*(parseInt(_0x35feaa(0x100))/0xc);if(_0x41a25e===_0x2f08d4)break;else _0x1dc9cf['push'](_0x1dc9cf['shift']());}catch(_0x48f65a){_0x1dc9cf['push'](_0x1dc9cf['shift']());}}}(_0x3ff1,0x9befd));import{messages as _0x51166d}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4b545c(0xff)];constructor(){const _0x90847e=_0x4b545c;this[_0x90847e(0xff)]=_0x51166d;}[_0x4b545c(0xf0)](_0x129f80){const _0x583414=_0x4b545c;return new ProtobufDescriptor(this[_0x583414(0xff)][_0x129f80]);}}export class ProtobufDescriptor{[_0x4b545c(0x101)];constructor(_0x4b48db){const _0x528e46=_0x4b545c;this[_0x528e46(0x101)]=_0x4b48db;}[_0x4b545c(0x104)](_0xebf5b5){const _0xd30054=_0x4b545c,_0x1c4ef7=this[_0xd30054(0x101)][_0xd30054(0xf9)](_0xebf5b5);if(_0x1c4ef7)throw Error(_0x1c4ef7);return this[_0xd30054(0x101)][_0xd30054(0xf7)](this[_0xd30054(0x101)][_0xd30054(0xfc)](_0xebf5b5))[_0xd30054(0xfa)]();}[_0x4b545c(0xf4)](_0x363a1b){const _0x5719c5=_0x4b545c;return this[_0x5719c5(0x101)][_0x5719c5(0xf6)](this[_0x5719c5(0x101)][_0x5719c5(0x103)](_0x363a1b),{'oneofs':!0x0});}}function _0x3ff1(){const _0xfa0603=['3uYTdki','create','8KbKAwb','1244160YDFstT','_protobufRoot','11316aPxZMY','_protobuf','19368KksSEg','decode','compress','4972rWejtM','1047380bJknbu','getDescriptor','954726AujYKV','1783050TQRwxE','1390ARfHNq','decompress','2309522tSwRLP','toObject','encode','56cmklia','verify','finish'];_0x3ff1=function(){return _0xfa0603;};return _0x3ff1();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1832(){const _0xa6ca4=['4sYVcju','root','5268IuxPrx','3101UXwQKh','443140WpUILW','660bifPte','7316532mKYneY','length','$graveyard','11kNZIdJ','nodes','3602320BKpBTd','rootMain','main','117772vgiyHM','path','rootGraveyard','211150BWplcx','3266949hHFszm'];_0x1832=function(){return _0xa6ca4;};return _0x1832();}(function(_0x1fb36c,_0x4b220c){const _0x4a4426=_0x57d6,_0x29e932=_0x1fb36c();while(!![]){try{const _0x251dfd=parseInt(_0x4a4426(0xec))/0x1*(parseInt(_0x4a4426(0xf1))/0x2)+-parseInt(_0x4a4426(0xf5))/0x3*(-parseInt(_0x4a4426(0xf6))/0x4)+-parseInt(_0x4a4426(0xf4))/0x5+-parseInt(_0x4a4426(0xf8))/0x6*(-parseInt(_0x4a4426(0xe6))/0x7)+parseInt(_0x4a4426(0xee))/0x8+parseInt(_0x4a4426(0xe9))/0x9+parseInt(_0x4a4426(0xe7))/0xa*(-parseInt(_0x4a4426(0xe8))/0xb);if(_0x251dfd===_0x4b220c)break;else _0x29e932['push'](_0x29e932['shift']());}catch(_0x16aa83){_0x29e932['push'](_0x29e932['shift']());}}}(_0x1832,0xa7eeb));import{cloneDeep as _0x19dfe0,isEqual as _0x63274a,isObject as _0x535584}from'es-toolkit/compat';function _0x57d6(_0x38c057,_0x49654d){const _0x183294=_0x1832();return _0x57d6=function(_0x57d676,_0x3bd96d){_0x57d676=_0x57d676-0xe6;let _0x30ab0e=_0x183294[_0x57d676];return _0x30ab0e;},_0x57d6(_0x38c057,_0x49654d);}export function getPositionShiftedBy(_0x42cb8a,_0x2f97a9){const _0x508f48=_0x57d6,_0x231b51=_0x19dfe0(_0x42cb8a);return _0x231b51[_0x508f48(0xf2)][_0x231b51[_0x508f48(0xf2)][_0x508f48(0xea)]-0x1]+=_0x2f97a9,_0x231b51;}export function arePositionsEqual(_0x52ed0c,_0x17294c){const _0xf72b59=_0x57d6;return _0x52ed0c[_0xf72b59(0xf7)]===_0x17294c[_0xf72b59(0xf7)]&&_0x63274a(_0x52ed0c[_0xf72b59(0xf2)],_0x17294c[_0xf72b59(0xf2)]);}export function parsePositionBeforeCompression(_0x499f28){const _0x4d84c2=_0x57d6;P(_0x499f28,_0x4932dd=>(_0x4d84c2(0xf0)==_0x4932dd[_0x4d84c2(0xf7)]?(_0x4932dd[_0x4d84c2(0xef)]=!0x0,delete _0x4932dd[_0x4d84c2(0xf7)]):_0x4d84c2(0xeb)==_0x4932dd[_0x4d84c2(0xf7)]&&(_0x4932dd[_0x4d84c2(0xf3)]=!0x0,delete _0x4932dd[_0x4d84c2(0xf7)]),_0x4932dd));}export function parsePositionAfterCompression(_0x58a49d){const _0x30abb5=_0x57d6;P(_0x58a49d,_0x30389e=>(_0x30389e[_0x30abb5(0xef)]?(_0x30389e[_0x30abb5(0xf7)]=_0x30abb5(0xf0),delete _0x30389e[_0x30abb5(0xef)]):_0x30389e[_0x30abb5(0xf3)]&&(_0x30389e[_0x30abb5(0xf7)]=_0x30abb5(0xeb),delete _0x30389e[_0x30abb5(0xf3)]),_0x30389e));}function P(_0x212d00,_0x1e731a){const _0x4d6ede=_0x57d6;for(const _0x522b6f in _0x212d00){const _0x347824=_0x212d00[_0x522b6f];_0x4d6ede(0xed)!==_0x522b6f&&_0x535584(_0x347824)&&(_0x347824[_0x4d6ede(0xf2)]&&(_0x347824[_0x4d6ede(0xf7)]||_0x347824[_0x4d6ede(0xef)]||_0x347824[_0x4d6ede(0xf3)])?_0x212d00[_0x522b6f]=_0x1e731a(_0x347824):P(_0x347824,_0x1e731a));}return _0x212d00;}
|