@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.0 → 46.0.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 _0x484e42=_0x1e04;(function(_0x2e53b3,_0xab39e3){const _0x31d0e5=_0x1e04,_0x100859=_0x2e53b3();while(!![]){try{const _0x352bd1=-parseInt(_0x31d0e5(0x108))/0x1+-parseInt(_0x31d0e5(0x111))/0x2+parseInt(_0x31d0e5(0x10e))/0x3*(parseInt(_0x31d0e5(0x10f))/0x4)+-parseInt(_0x31d0e5(0x10d))/0x5+parseInt(_0x31d0e5(0x106))/0x6+-parseInt(_0x31d0e5(0x112))/0x7+-parseInt(_0x31d0e5(0x109))/0x8*(-parseInt(_0x31d0e5(0x110))/0x9);if(_0x352bd1===_0xab39e3)break;else _0x100859['push'](_0x100859['shift']());}catch(_0xd07d32){_0x100859['push'](_0x100859['shift']());}}}(_0x5171,0x48c64));function _0x5171(){const _0x3cae26=['length','338979NGjMNE','11142024lAglvK','oldRange','decompress','newRange','1742750ttLOyU','298752fiTOBM','8wwXkOU','9EIvbKT','1174978OIlIfn','3080721qIALEM','2527704gGSufm'];_0x5171=function(){return _0x3cae26;};return _0x5171();}function _0x1e04(_0x587865,_0x2e7d6d){const _0x51718a=_0x5171();return _0x1e04=function(_0x1e04a2,_0x455db6){_0x1e04a2=_0x1e04a2-0x106;let _0x97e766=_0x51718a[_0x1e04a2];return _0x97e766;},_0x1e04(_0x587865,_0x2e7d6d);}import{OperationCompressor as _0x49a9b2}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x49a9b2{[_0x484e42(0x10b)](_0x449fa3,_0x4565d0){const _0x1eb3fc=_0x484e42;super[_0x1eb3fc(0x10b)](_0x449fa3,_0x4565d0);const _0x4b03d4=_0x449fa3[_0x449fa3[_0x1eb3fc(0x107)]-0x1];_0x4b03d4[_0x1eb3fc(0x10a)]||(_0x4b03d4[_0x1eb3fc(0x10a)]=null),_0x4b03d4[_0x1eb3fc(0x10c)]||(_0x4b03d4[_0x1eb3fc(0x10c)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3b50(_0x2feba2,_0x33b4bb){var _0x56ad8e=_0x56ad();return _0x3b50=function(_0x3b5033,_0x386d85){_0x3b5033=_0x3b5033-0x16c;var _0x10fee=_0x56ad8e[_0x3b5033];return _0x10fee;},_0x3b50(_0x2feba2,_0x33b4bb);}var _0x573d17=_0x3b50;(function(_0x2bd58c,_0x2cd73b){var _0xd6a04d=_0x3b50,_0x7e4681=_0x2bd58c();while(!![]){try{var _0xdb715d=parseInt(_0xd6a04d(0x177))/0x1*(parseInt(_0xd6a04d(0x179))/0x2)+-parseInt(_0xd6a04d(0x175))/0x3*(-parseInt(_0xd6a04d(0x16c))/0x4)+-parseInt(_0xd6a04d(0x17c))/0x5+parseInt(_0xd6a04d(0x170))/0x6+-parseInt(_0xd6a04d(0x178))/0x7+parseInt(_0xd6a04d(0x17a))/0x8+-parseInt(_0xd6a04d(0x174))/0x9*(parseInt(_0xd6a04d(0x16e))/0xa);if(_0xdb715d===_0x2cd73b)break;else _0x7e4681['push'](_0x7e4681['shift']());}catch(_0x299ec9){_0x7e4681['push'](_0x7e4681['shift']());}}}(_0x56ad,0x83d40));function _0x56ad(){var _0x52c520=['4278375ytbQxs','97228iHeLok','decompress','640600nqLfCk','shift','317130sFgYAS','types','_operationName','push','18LhInbn','105xUlVZU','_id','2474scOlcN','1143030YjXtLg','484FUhHqJ','1477960kwchJe','compress'];_0x56ad=function(){return _0x52c520;};return _0x56ad();}import{OperationCompressor as _0x3952ff}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3952ff{[_0x573d17(0x17b)](_0x11062e,_0x1fa7fe){var _0x2b4203=_0x573d17;return _0x1fa7fe[_0x2b4203(0x16f)](),_0x11062e[_0x2b4203(0x171)][_0x2b4203(0x173)](this[_0x2b4203(0x176)]),!0x0;}[_0x573d17(0x16d)](_0x341327,_0x52fbd5){var _0x51f0fb=_0x573d17;_0x52fbd5[_0x51f0fb(0x171)][_0x51f0fb(0x16f)](),_0x341327[_0x51f0fb(0x173)]({'__className':this[_0x51f0fb(0x172)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4df2(_0x104f2c,_0x26bac1){const _0x45bf81=_0x45bf();return _0x4df2=function(_0x4df2e7,_0x18207c){_0x4df2e7=_0x4df2e7-0x167;let _0x77dcb2=_0x45bf81[_0x4df2e7];return _0x77dcb2;},_0x4df2(_0x104f2c,_0x26bac1);}const _0x27c52b=_0x4df2;(function(_0x690e52,_0x28df3f){const _0x387f32=_0x4df2,_0x3c2562=_0x690e52();while(!![]){try{const _0x335dab=parseInt(_0x387f32(0x16d))/0x1*(parseInt(_0x387f32(0x16e))/0x2)+parseInt(_0x387f32(0x171))/0x3+parseInt(_0x387f32(0x177))/0x4*(-parseInt(_0x387f32(0x174))/0x5)+-parseInt(_0x387f32(0x16f))/0x6+parseInt(_0x387f32(0x173))/0x7+parseInt(_0x387f32(0x16b))/0x8+parseInt(_0x387f32(0x16c))/0x9;if(_0x335dab===_0x28df3f)break;else _0x3c2562['push'](_0x3c2562['shift']());}catch(_0x390f84){_0x3c2562['push'](_0x3c2562['shift']());}}}(_0x45bf,0xbeb5f));import{parsePositionBeforeCompression as _0x3ec2fc,parsePositionAfterCompression as _0x2f540a}from'../utils.js';function _0x45bf(){const _0x52043b=['406zkxGGs','8086314ThZCFt','push','654960cyDgoN','buffers','7957894DEaouc','11330jZifts','compress','shift','1968HTsOpQ','__className','types','_protobufDescriptor','decompress','_id','_operationName','8774992ViGWYg','1569447NsoreH','3041GSbdGd'];_0x45bf=function(){return _0x52043b;};return _0x45bf();}export class OperationCompressor{[_0x27c52b(0x169)];[_0x27c52b(0x16a)];[_0x27c52b(0x167)];constructor(_0x5a2e7c,_0x41da3d,_0x4c367d){const _0x8247c8=_0x27c52b;this[_0x8247c8(0x169)]=_0x5a2e7c,this[_0x8247c8(0x16a)]=_0x41da3d,this[_0x8247c8(0x167)]=_0x4c367d;}[_0x27c52b(0x175)](_0x19eb53,_0x79d042){const _0x4a295a=_0x27c52b,_0x1b7677=_0x79d042[_0x4a295a(0x176)]();return _0x3ec2fc(_0x1b7677),_0x19eb53[_0x4a295a(0x172)][_0x4a295a(0x170)](this[_0x4a295a(0x167)][_0x4a295a(0x175)](_0x1b7677)),_0x19eb53[_0x4a295a(0x179)][_0x4a295a(0x170)](this[_0x4a295a(0x169)]),!0x0;}[_0x27c52b(0x168)](_0x274aa4,_0xf55f4a){const _0x8438ec=_0x27c52b;_0xf55f4a[_0x8438ec(0x179)][_0x8438ec(0x176)]();const _0x329d2f=this[_0x8438ec(0x167)][_0x8438ec(0x168)](_0xf55f4a[_0x8438ec(0x172)][_0x8438ec(0x176)]());_0x2f540a(_0x329d2f),_0x329d2f[_0x8438ec(0x178)]=this[_0x8438ec(0x16a)],_0x274aa4[_0x8438ec(0x170)](_0x329d2f);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19fab3=_0x1ebc;function _0x1fe7(){const _0x45dcd5=['create','90044hmUeIL','323103EDSamD','decompress','10492785wSTJhO','decode','verify','getDescriptor','finish','40eVDJyi','toObject','8mMitfb','6480754ALlbJl','_protobufRoot','compress','encode','1035650vQXSKx','9498000zqpeUP','_protobuf','3959823LNYoDE','2VJEkup'];_0x1fe7=function(){return _0x45dcd5;};return _0x1fe7();}(function(_0x51a1b6,_0x79d7c0){const _0x4f840d=_0x1ebc,_0x55e5bb=_0x51a1b6();while(!![]){try{const _0xd3a9d8=parseInt(_0x4f840d(0x177))/0x1+-parseInt(_0x4f840d(0x174))/0x2*(-parseInt(_0x4f840d(0x173))/0x3)+-parseInt(_0x4f840d(0x176))/0x4*(parseInt(_0x4f840d(0x17e))/0x5)+parseInt(_0x4f840d(0x171))/0x6+-parseInt(_0x4f840d(0x16c))/0x7*(parseInt(_0x4f840d(0x180))/0x8)+-parseInt(_0x4f840d(0x179))/0x9+-parseInt(_0x4f840d(0x170))/0xa;if(_0xd3a9d8===_0x79d7c0)break;else _0x55e5bb['push'](_0x55e5bb['shift']());}catch(_0x145cef){_0x55e5bb['push'](_0x55e5bb['shift']());}}}(_0x1fe7,0xcfb10));function _0x1ebc(_0x5644c5,_0x5561bf){const _0x1fe77c=_0x1fe7();return _0x1ebc=function(_0x1ebc4c,_0x5e72eb){_0x1ebc4c=_0x1ebc4c-0x16c;let _0x3066e1=_0x1fe77c[_0x1ebc4c];return _0x3066e1;},_0x1ebc(_0x5644c5,_0x5561bf);}import{messages as _0x57cbba}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x19fab3(0x16d)];constructor(){const _0x4f6b2c=_0x19fab3;this[_0x4f6b2c(0x16d)]=_0x57cbba;}[_0x19fab3(0x17c)](_0x4b915b){const _0x427ecd=_0x19fab3;return new ProtobufDescriptor(this[_0x427ecd(0x16d)][_0x4b915b]);}}export class ProtobufDescriptor{[_0x19fab3(0x172)];constructor(_0x3d4e82){const _0x39d2f1=_0x19fab3;this[_0x39d2f1(0x172)]=_0x3d4e82;}[_0x19fab3(0x16e)](_0x5ba042){const _0x17c7da=_0x19fab3,_0x35fb32=this[_0x17c7da(0x172)][_0x17c7da(0x17b)](_0x5ba042);if(_0x35fb32)throw Error(_0x35fb32);return this[_0x17c7da(0x172)][_0x17c7da(0x16f)](this[_0x17c7da(0x172)][_0x17c7da(0x175)](_0x5ba042))[_0x17c7da(0x17d)]();}[_0x19fab3(0x178)](_0x114eed){const _0xcc76d3=_0x19fab3;return this[_0xcc76d3(0x172)][_0xcc76d3(0x17f)](this[_0xcc76d3(0x172)][_0xcc76d3(0x17a)](_0x114eed),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d8575,_0x4b37c8){const _0x567d38=_0x1984,_0x3b2dd4=_0x3d8575();while(!![]){try{const _0x256308=-parseInt(_0x567d38(0x73))/0x1+parseInt(_0x567d38(0x7d))/0x2+parseInt(_0x567d38(0x78))/0x3*(parseInt(_0x567d38(0x7a))/0x4)+-parseInt(_0x567d38(0x7b))/0x5*(parseInt(_0x567d38(0x80))/0x6)+parseInt(_0x567d38(0x71))/0x7+parseInt(_0x567d38(0x81))/0x8+parseInt(_0x567d38(0x82))/0x9*(parseInt(_0x567d38(0x7f))/0xa);if(_0x256308===_0x4b37c8)break;else _0x3b2dd4['push'](_0x3b2dd4['shift']());}catch(_0x3ca4f0){_0x3b2dd4['push'](_0x3b2dd4['shift']());}}}(_0x322b,0x38a71));import{cloneDeep as _0x2b2728,isEqual as _0x65c915,isObject as _0x42cc3c}from'es-toolkit/compat';export function getPositionShiftedBy(_0x5c7031,_0xcd6f8b){const _0x19662f=_0x1984,_0x98558e=_0x2b2728(_0x5c7031);return _0x98558e[_0x19662f(0x77)][_0x98558e[_0x19662f(0x77)][_0x19662f(0x72)]-0x1]+=_0xcd6f8b,_0x98558e;}export function arePositionsEqual(_0x400e56,_0x29afed){const _0x261a16=_0x1984;return _0x400e56[_0x261a16(0x7c)]===_0x29afed[_0x261a16(0x7c)]&&_0x65c915(_0x400e56[_0x261a16(0x77)],_0x29afed[_0x261a16(0x77)]);}export function parsePositionBeforeCompression(_0xda7e33){const _0xac4052=_0x1984;P(_0xda7e33,_0x5c73ae=>(_0xac4052(0x76)==_0x5c73ae[_0xac4052(0x7c)]?(_0x5c73ae[_0xac4052(0x74)]=!0x0,delete _0x5c73ae[_0xac4052(0x7c)]):_0xac4052(0x79)==_0x5c73ae[_0xac4052(0x7c)]&&(_0x5c73ae[_0xac4052(0x75)]=!0x0,delete _0x5c73ae[_0xac4052(0x7c)]),_0x5c73ae));}export function parsePositionAfterCompression(_0x562518){const _0x34d668=_0x1984;P(_0x562518,_0x6fb3a4=>(_0x6fb3a4[_0x34d668(0x74)]?(_0x6fb3a4[_0x34d668(0x7c)]=_0x34d668(0x76),delete _0x6fb3a4[_0x34d668(0x74)]):_0x6fb3a4[_0x34d668(0x75)]&&(_0x6fb3a4[_0x34d668(0x7c)]=_0x34d668(0x79),delete _0x6fb3a4[_0x34d668(0x75)]),_0x6fb3a4));}function _0x1984(_0x1f74a1,_0x45cf63){const _0x322ba3=_0x322b();return _0x1984=function(_0x1984f2,_0x2c160d){_0x1984f2=_0x1984f2-0x71;let _0x4378a4=_0x322ba3[_0x1984f2];return _0x4378a4;},_0x1984(_0x1f74a1,_0x45cf63);}function _0x322b(){const _0x57bba2=['9CDCTor','286783HkycSg','length','222795kUnSOm','rootMain','rootGraveyard','main','path','2883hjVqNe','$graveyard','244iRcZAh','24425ajdvRJ','root','440688suMDbx','nodes','2438290lfhHWI','516nJsggq','2489528rsCqLl'];_0x322b=function(){return _0x57bba2;};return _0x322b();}function P(_0x49dd86,_0x188703){const _0x5b96b9=_0x1984;for(const _0x5ecd92 in _0x49dd86){const _0x226b16=_0x49dd86[_0x5ecd92];_0x5b96b9(0x7e)!==_0x5ecd92&&_0x42cc3c(_0x226b16)&&(_0x226b16[_0x5b96b9(0x77)]&&(_0x226b16[_0x5b96b9(0x7c)]||_0x226b16[_0x5b96b9(0x74)]||_0x226b16[_0x5b96b9(0x75)])?_0x49dd86[_0x5ecd92]=_0x188703(_0x226b16):P(_0x226b16,_0x188703));}return _0x49dd86;}
|