@ckeditor/ckeditor5-operations-compressor 44.3.0-alpha.7 → 45.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/LICENSE.md +3 -6
- 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/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 _0x1fa8ae=_0x38dc;(function(_0x2a77ba,_0x460d74){const _0x1849a5=_0x38dc,_0x1903ca=_0x2a77ba();while(!![]){try{const _0xe9a334=-parseInt(_0x1849a5(0xbb))/0x1*(-parseInt(_0x1849a5(0xbd))/0x2)+-parseInt(_0x1849a5(0xb1))/0x3+-parseInt(_0x1849a5(0xb6))/0x4+-parseInt(_0x1849a5(0xb2))/0x5+-parseInt(_0x1849a5(0xb9))/0x6*(parseInt(_0x1849a5(0xb7))/0x7)+-parseInt(_0x1849a5(0xb3))/0x8+parseInt(_0x1849a5(0xba))/0x9*(parseInt(_0x1849a5(0xbc))/0xa);if(_0xe9a334===_0x460d74)break;else _0x1903ca['push'](_0x1903ca['shift']());}catch(_0x4f63be){_0x1903ca['push'](_0x1903ca['shift']());}}}(_0x428a,0x8af12));import _0x4ef3d5 from'./operationcompressor.js';function _0x38dc(_0x93b03d,_0x33d727){const _0x428a35=_0x428a();return _0x38dc=function(_0x38dccb,_0x1bb06f){_0x38dccb=_0x38dccb-0xb1;let _0x2cbd2d=_0x428a35[_0x38dccb];return _0x2cbd2d;},_0x38dc(_0x93b03d,_0x33d727);}function _0x428a(){const _0x2bf2ff=['newRange','978bCCkGE','3406932jHEAhM','4676osJkHB','100rHsbey','278lRApJh','decompress','3241947oEjbMV','2993420TrnjaN','8223936TtohWx','length','oldRange','2464240OniXLW','23317CwREWu'];_0x428a=function(){return _0x2bf2ff;};return _0x428a();}export default class n extends _0x4ef3d5{[_0x1fa8ae(0xbe)](_0x520491,_0x44956a){const _0x43366f=_0x1fa8ae;super[_0x43366f(0xbe)](_0x520491,_0x44956a);const _0x237939=_0x520491[_0x520491[_0x43366f(0xb4)]-0x1];_0x237939[_0x43366f(0xb5)]||(_0x237939[_0x43366f(0xb5)]=null),_0x237939[_0x43366f(0xb8)]||(_0x237939[_0x43366f(0xb8)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x525ecb=_0x2c49;(function(_0x3ea0b2,_0x2d8f7b){var _0x1336d2=_0x2c49,_0x2f3a7f=_0x3ea0b2();while(!![]){try{var _0x595235=-parseInt(_0x1336d2(0x117))/0x1*(parseInt(_0x1336d2(0x114))/0x2)+-parseInt(_0x1336d2(0x110))/0x3*(-parseInt(_0x1336d2(0x119))/0x4)+-parseInt(_0x1336d2(0x10e))/0x5+parseInt(_0x1336d2(0x115))/0x6*(parseInt(_0x1336d2(0x10c))/0x7)+parseInt(_0x1336d2(0x11b))/0x8*(parseInt(_0x1336d2(0x10f))/0x9)+-parseInt(_0x1336d2(0x116))/0xa*(parseInt(_0x1336d2(0x10d))/0xb)+parseInt(_0x1336d2(0x118))/0xc;if(_0x595235===_0x2d8f7b)break;else _0x2f3a7f['push'](_0x2f3a7f['shift']());}catch(_0x2d05bb){_0x2f3a7f['push'](_0x2f3a7f['shift']());}}}(_0x14b1,0xb40c2));function _0x14b1(){var _0x16ae01=['_id','compress','shift','12HVzXjz','4214142VCOISL','4199470dFtNmT','73725cNgbVu','7938888PSQiLf','77692TYwmLt','push','1777432HlpcTL','_operationName','types','decompress','14nhKycP','22aYvtbd','6867445wSiQNo','27CoYbQW','102KkisVx'];_0x14b1=function(){return _0x16ae01;};return _0x14b1();}import _0x148e36 from'./operationcompressor.js';function _0x2c49(_0x5310a9,_0x480690){var _0x14b12d=_0x14b1();return _0x2c49=function(_0x2c4977,_0x6c2701){_0x2c4977=_0x2c4977-0x10c;var _0x560141=_0x14b12d[_0x2c4977];return _0x560141;},_0x2c49(_0x5310a9,_0x480690);}export default class p extends _0x148e36{[_0x525ecb(0x112)](_0x1e662a,_0x4a4325){var _0x52c0fd=_0x525ecb;return _0x4a4325[_0x52c0fd(0x113)](),_0x1e662a[_0x52c0fd(0x11d)][_0x52c0fd(0x11a)](this[_0x52c0fd(0x111)]),!0x0;}[_0x525ecb(0x11e)](_0x501bd1,_0x11d76e){var _0x5ce4fb=_0x525ecb;_0x11d76e[_0x5ce4fb(0x11d)][_0x5ce4fb(0x113)](),_0x501bd1[_0x5ce4fb(0x11a)]({'__className':this[_0x5ce4fb(0x11c)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x453cdb=_0x5f34;(function(_0x240eac,_0x4b21ee){const _0x2e8e57=_0x5f34,_0xd343ab=_0x240eac();while(!![]){try{const _0x267482=parseInt(_0x2e8e57(0x1d1))/0x1+parseInt(_0x2e8e57(0x1cc))/0x2+-parseInt(_0x2e8e57(0x1d7))/0x3*(parseInt(_0x2e8e57(0x1d4))/0x4)+parseInt(_0x2e8e57(0x1c8))/0x5+-parseInt(_0x2e8e57(0x1cf))/0x6*(parseInt(_0x2e8e57(0x1ca))/0x7)+parseInt(_0x2e8e57(0x1ce))/0x8+-parseInt(_0x2e8e57(0x1c7))/0x9;if(_0x267482===_0x4b21ee)break;else _0xd343ab['push'](_0xd343ab['shift']());}catch(_0x20f38c){_0xd343ab['push'](_0xd343ab['shift']());}}}(_0x55ca,0xb9088));import{parsePositionBeforeCompression as _0x1c1d4d,parsePositionAfterCompression as _0x26a95d}from'../utils.js';function _0x5f34(_0x487b33,_0xddedbf){const _0x55ca3e=_0x55ca();return _0x5f34=function(_0x5f3495,_0x2ea8eb){_0x5f3495=_0x5f3495-0x1c5;let _0x269da2=_0x55ca3e[_0x5f3495];return _0x269da2;},_0x5f34(_0x487b33,_0xddedbf);}export default class e{[_0x453cdb(0x1d3)];[_0x453cdb(0x1d2)];[_0x453cdb(0x1cd)];constructor(_0x3281dd,_0x4f005c,_0x4e423b){const _0x8044eb=_0x453cdb;this[_0x8044eb(0x1d3)]=_0x3281dd,this[_0x8044eb(0x1d2)]=_0x4f005c,this[_0x8044eb(0x1cd)]=_0x4e423b;}[_0x453cdb(0x1cb)](_0x517df0,_0x130092){const _0x2d6b97=_0x453cdb,_0x3249e2=_0x130092[_0x2d6b97(0x1c6)]();return _0x1c1d4d(_0x3249e2),_0x517df0[_0x2d6b97(0x1d0)][_0x2d6b97(0x1d5)](this[_0x2d6b97(0x1cd)][_0x2d6b97(0x1cb)](_0x3249e2)),_0x517df0[_0x2d6b97(0x1d6)][_0x2d6b97(0x1d5)](this[_0x2d6b97(0x1d3)]),!0x0;}[_0x453cdb(0x1c9)](_0xc9f63c,_0x4d44c3){const _0x39b5dd=_0x453cdb;_0x4d44c3[_0x39b5dd(0x1d6)][_0x39b5dd(0x1c6)]();const _0x1520bb=this[_0x39b5dd(0x1cd)][_0x39b5dd(0x1c9)](_0x4d44c3[_0x39b5dd(0x1d0)][_0x39b5dd(0x1c6)]());_0x26a95d(_0x1520bb),_0x1520bb[_0x39b5dd(0x1c5)]=this[_0x39b5dd(0x1d2)],_0xc9f63c[_0x39b5dd(0x1d5)](_0x1520bb);}}function _0x55ca(){const _0x5a55e5=['_operationName','_id','4dfxvXW','push','types','194385xEXmsE','__className','shift','11561670sIdNXT','6135830uGNrDC','decompress','21ZIDJTP','compress','612900eMfmKN','_protobufDescriptor','1406928yNVSse','997470lidGQf','buffers','896574QaexHS'];_0x55ca=function(){return _0x5a55e5;};return _0x55ca();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10d5e2=_0x103d;(function(_0x563ce7,_0x562050){const _0x40ff22=_0x103d,_0x339d91=_0x563ce7();while(!![]){try{const _0x551615=-parseInt(_0x40ff22(0x177))/0x1*(-parseInt(_0x40ff22(0x175))/0x2)+parseInt(_0x40ff22(0x17c))/0x3+-parseInt(_0x40ff22(0x186))/0x4*(parseInt(_0x40ff22(0x183))/0x5)+parseInt(_0x40ff22(0x176))/0x6+parseInt(_0x40ff22(0x180))/0x7*(-parseInt(_0x40ff22(0x179))/0x8)+-parseInt(_0x40ff22(0x182))/0x9+parseInt(_0x40ff22(0x181))/0xa;if(_0x551615===_0x562050)break;else _0x339d91['push'](_0x339d91['shift']());}catch(_0x111970){_0x339d91['push'](_0x339d91['shift']());}}}(_0xe922,0xc9b6d));function _0xe922(){const _0x1ceb33=['decompress','8TsvGYL','encode','create','1080459svbRRR','compress','decode','getDescriptor','694505QjTMci','19847430DVjjjq','14685588EPPPSy','1765gSayml','_protobufRoot','toObject','15204RKVHMY','verify','_protobuf','finish','126252jQBEeh','2885298htooUF','17WavkFq'];_0xe922=function(){return _0x1ceb33;};return _0xe922();}function _0x103d(_0x576030,_0x1d6c6f){const _0xe922b=_0xe922();return _0x103d=function(_0x103daa,_0x1a4f60){_0x103daa=_0x103daa-0x174;let _0x563990=_0xe922b[_0x103daa];return _0x563990;},_0x103d(_0x576030,_0x1d6c6f);}import{messages as _0x1365d5}from'./lib/compiledmessages.js';export default class r{[_0x10d5e2(0x184)];constructor(){const _0x1f8c8e=_0x10d5e2;this[_0x1f8c8e(0x184)]=_0x1365d5;}[_0x10d5e2(0x17f)](_0x406aea){const _0x4355b5=_0x10d5e2;return new ProtobufDescriptor(this[_0x4355b5(0x184)][_0x406aea]);}}export class ProtobufDescriptor{[_0x10d5e2(0x188)];constructor(_0x428a50){const _0x137f03=_0x10d5e2;this[_0x137f03(0x188)]=_0x428a50;}[_0x10d5e2(0x17d)](_0xcb89cc){const _0xf30bef=_0x10d5e2,_0x42c502=this[_0xf30bef(0x188)][_0xf30bef(0x187)](_0xcb89cc);if(_0x42c502)throw Error(_0x42c502);return this[_0xf30bef(0x188)][_0xf30bef(0x17a)](this[_0xf30bef(0x188)][_0xf30bef(0x17b)](_0xcb89cc))[_0xf30bef(0x174)]();}[_0x10d5e2(0x178)](_0x4e5dd6){const _0x4def97=_0x10d5e2;return this[_0x4def97(0x188)][_0x4def97(0x185)](this[_0x4def97(0x188)][_0x4def97(0x17e)](_0x4e5dd6),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3d24(_0x2747f0,_0x3d8670){const _0x2c89f5=_0x2c89();return _0x3d24=function(_0x3d2462,_0x536216){_0x3d2462=_0x3d2462-0x148;let _0x34b260=_0x2c89f5[_0x3d2462];return _0x34b260;},_0x3d24(_0x2747f0,_0x3d8670);}(function(_0x455931,_0x2f31e9){const _0x190152=_0x3d24,_0x136022=_0x455931();while(!![]){try{const _0x4002dd=-parseInt(_0x190152(0x14d))/0x1*(parseInt(_0x190152(0x148))/0x2)+parseInt(_0x190152(0x14f))/0x3+parseInt(_0x190152(0x153))/0x4*(parseInt(_0x190152(0x14a))/0x5)+parseInt(_0x190152(0x155))/0x6+parseInt(_0x190152(0x14e))/0x7*(parseInt(_0x190152(0x150))/0x8)+parseInt(_0x190152(0x15a))/0x9*(-parseInt(_0x190152(0x14b))/0xa)+-parseInt(_0x190152(0x14c))/0xb*(-parseInt(_0x190152(0x149))/0xc);if(_0x4002dd===_0x2f31e9)break;else _0x136022['push'](_0x136022['shift']());}catch(_0xce4d5d){_0x136022['push'](_0x136022['shift']());}}}(_0x2c89,0x320ea));import{cloneDeep as _0x5a2603,isEqual as _0x2a4885,isObject as _0x59beea}from'es-toolkit/compat';function _0x2c89(){const _0x49736d=['647050rHsKXO','468479JXbUfp','8XCiOdu','14DlgcJs','448872CXookt','446072hdYKRQ','nodes','$graveyard','10988AvXKxp','rootMain','877536tEgdTZ','main','rootGraveyard','path','length','27tJpgaP','root','89636voyqJg','60ESFJGh','250kOKWZo'];_0x2c89=function(){return _0x49736d;};return _0x2c89();}export function getPositionShiftedBy(_0x526128,_0x1dd83b){const _0x3fb8c4=_0x3d24,_0x313601=_0x5a2603(_0x526128);return _0x313601[_0x3fb8c4(0x158)][_0x313601[_0x3fb8c4(0x158)][_0x3fb8c4(0x159)]-0x1]+=_0x1dd83b,_0x313601;}export function arePositionsEqual(_0x4c369d,_0x20b0ba){const _0x510db4=_0x3d24;return _0x4c369d[_0x510db4(0x15b)]===_0x20b0ba[_0x510db4(0x15b)]&&_0x2a4885(_0x4c369d[_0x510db4(0x158)],_0x20b0ba[_0x510db4(0x158)]);}export function parsePositionBeforeCompression(_0x4dbde0){const _0x58faf6=_0x3d24;P(_0x4dbde0,_0x5c508e=>(_0x58faf6(0x156)==_0x5c508e[_0x58faf6(0x15b)]?(_0x5c508e[_0x58faf6(0x154)]=!0x0,delete _0x5c508e[_0x58faf6(0x15b)]):_0x58faf6(0x152)==_0x5c508e[_0x58faf6(0x15b)]&&(_0x5c508e[_0x58faf6(0x157)]=!0x0,delete _0x5c508e[_0x58faf6(0x15b)]),_0x5c508e));}export function parsePositionAfterCompression(_0x3d8a10){const _0x5b2a44=_0x3d24;P(_0x3d8a10,_0x348422=>(_0x348422[_0x5b2a44(0x154)]?(_0x348422[_0x5b2a44(0x15b)]=_0x5b2a44(0x156),delete _0x348422[_0x5b2a44(0x154)]):_0x348422[_0x5b2a44(0x157)]&&(_0x348422[_0x5b2a44(0x15b)]=_0x5b2a44(0x152),delete _0x348422[_0x5b2a44(0x157)]),_0x348422));}function P(_0x3ab19e,_0x43e5eb){const _0x16f25c=_0x3d24;for(const _0x52e9d6 in _0x3ab19e){const _0x206f5d=_0x3ab19e[_0x52e9d6];_0x16f25c(0x151)!==_0x52e9d6&&_0x59beea(_0x206f5d)&&(_0x206f5d[_0x16f25c(0x158)]&&(_0x206f5d[_0x16f25c(0x15b)]||_0x206f5d[_0x16f25c(0x154)]||_0x206f5d[_0x16f25c(0x157)])?_0x3ab19e[_0x52e9d6]=_0x43e5eb(_0x206f5d):P(_0x206f5d,_0x43e5eb));}return _0x3ab19e;}
|