@ckeditor/ckeditor5-operations-compressor 45.0.0-alpha.6 → 45.0.0-alpha.7
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
|
-
function
|
|
23
|
+
function _0x2dd9(){var _0x1cc861=['363879wKDUjj','push','shift','compress','_id','10AbWMWB','416455qISvGH','5049528sZGcQu','72614DmtWEK','4zeZkue','_operationName','decompress','483JICgmF','1600810sXLHdG','30MZSezo','14724699TmALqY','types','5142iEMGyI'];_0x2dd9=function(){return _0x1cc861;};return _0x2dd9();}function _0x5c33(_0x1af944,_0x3f81b6){var _0x2dd912=_0x2dd9();return _0x5c33=function(_0x5c3342,_0x11a120){_0x5c3342=_0x5c3342-0x11b;var _0x2ec6bf=_0x2dd912[_0x5c3342];return _0x2ec6bf;},_0x5c33(_0x1af944,_0x3f81b6);}var _0x4ca812=_0x5c33;(function(_0x528c2c,_0x2d677a){var _0x5ceb86=_0x5c33,_0xe48f35=_0x528c2c();while(!![]){try{var _0x2ab239=parseInt(_0x5ceb86(0x129))/0x1+-parseInt(_0x5ceb86(0x12b))/0x2*(parseInt(_0x5ceb86(0x11f))/0x3)+-parseInt(_0x5ceb86(0x12c))/0x4*(parseInt(_0x5ceb86(0x11e))/0x5)+parseInt(_0x5ceb86(0x122))/0x6*(-parseInt(_0x5ceb86(0x11d))/0x7)+-parseInt(_0x5ceb86(0x12a))/0x8+-parseInt(_0x5ceb86(0x123))/0x9+parseInt(_0x5ceb86(0x128))/0xa*(parseInt(_0x5ceb86(0x120))/0xb);if(_0x2ab239===_0x2d677a)break;else _0xe48f35['push'](_0xe48f35['shift']());}catch(_0x38f91e){_0xe48f35['push'](_0xe48f35['shift']());}}}(_0x2dd9,0x53455));import _0x496017 from'./operationcompressor.js';export default class p extends _0x496017{[_0x4ca812(0x126)](_0x34ecbf,_0x4dfc6f){var _0x44696b=_0x4ca812;return _0x4dfc6f[_0x44696b(0x125)](),_0x34ecbf[_0x44696b(0x121)][_0x44696b(0x124)](this[_0x44696b(0x127)]),!0x0;}[_0x4ca812(0x11c)](_0x3098a1,_0x2f2b72){var _0x48aa5c=_0x4ca812;_0x2f2b72[_0x48aa5c(0x121)][_0x48aa5c(0x125)](),_0x3098a1[_0x48aa5c(0x124)]({'__className':this[_0x48aa5c(0x11b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b66(_0x326e11,_0x395e76){const _0x35fa97=_0x35fa();return _0x4b66=function(_0x4b66ee,_0xb910e){_0x4b66ee=_0x4b66ee-0xda;let _0x169e1f=_0x35fa97[_0x4b66ee];return _0x169e1f;},_0x4b66(_0x326e11,_0x395e76);}const _0x3b45b4=_0x4b66;(function(_0x14b01f,_0x1695ca){const _0x2dfef6=_0x4b66,_0x2f783e=_0x14b01f();while(!![]){try{const _0x16ab8f=parseInt(_0x2dfef6(0xe4))/0x1*(parseInt(_0x2dfef6(0xea))/0x2)+parseInt(_0x2dfef6(0xec))/0x3*(parseInt(_0x2dfef6(0xde))/0x4)+parseInt(_0x2dfef6(0xe5))/0x5*(parseInt(_0x2dfef6(0xe9))/0x6)+-parseInt(_0x2dfef6(0xe3))/0x7+parseInt(_0x2dfef6(0xdf))/0x8+-parseInt(_0x2dfef6(0xed))/0x9+-parseInt(_0x2dfef6(0xdc))/0xa;if(_0x16ab8f===_0x1695ca)break;else _0x2f783e['push'](_0x2f783e['shift']());}catch(_0x5a9f58){_0x2f783e['push'](_0x2f783e['shift']());}}}(_0x35fa,0xd5ec0));function _0x35fa(){const _0x1d5eea=['_protobufDescriptor','decompress','2136617kJxdUt','5hxdBcL','885CdoFUP','buffers','_operationName','push','4524eZtQNG','542202OAqxjG','__className','233673djdPda','7671753oiNvBx','compress','_id','4856280TJqpOx','types','28ImqnDa','3882400NpUCgZ','shift'];_0x35fa=function(){return _0x1d5eea;};return _0x35fa();}import{parsePositionBeforeCompression as _0x12ba71,parsePositionAfterCompression as _0x58c02a}from'../utils.js';export default class e{[_0x3b45b4(0xdb)];[_0x3b45b4(0xe7)];[_0x3b45b4(0xe1)];constructor(_0x58e12c,_0x1af6e6,_0x4a1f48){const _0x4a446a=_0x3b45b4;this[_0x4a446a(0xdb)]=_0x58e12c,this[_0x4a446a(0xe7)]=_0x1af6e6,this[_0x4a446a(0xe1)]=_0x4a1f48;}[_0x3b45b4(0xda)](_0x38ccfb,_0x726301){const _0x3684fa=_0x3b45b4,_0xdf5770=_0x726301[_0x3684fa(0xe0)]();return _0x12ba71(_0xdf5770),_0x38ccfb[_0x3684fa(0xe6)][_0x3684fa(0xe8)](this[_0x3684fa(0xe1)][_0x3684fa(0xda)](_0xdf5770)),_0x38ccfb[_0x3684fa(0xdd)][_0x3684fa(0xe8)](this[_0x3684fa(0xdb)]),!0x0;}[_0x3b45b4(0xe2)](_0x1adb90,_0x3ba123){const _0x1901b0=_0x3b45b4;_0x3ba123[_0x1901b0(0xdd)][_0x1901b0(0xe0)]();const _0xf1f22d=this[_0x1901b0(0xe1)][_0x1901b0(0xe2)](_0x3ba123[_0x1901b0(0xe6)][_0x1901b0(0xe0)]());_0x58c02a(_0xf1f22d),_0xf1f22d[_0x1901b0(0xeb)]=this[_0x1901b0(0xe7)],_0x1adb90[_0x1901b0(0xe8)](_0xf1f22d);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2befe8=_0x34ff;(function(_0x44dd18,_0x4a8470){const _0x3359d0=_0x34ff,_0x38ff87=_0x44dd18();while(!![]){try{const _0xbca379=-parseInt(_0x3359d0(0xea))/0x1+-parseInt(_0x3359d0(0xe3))/0x2*(-parseInt(_0x3359d0(0xec))/0x3)+-parseInt(_0x3359d0(0xeb))/0x4*(parseInt(_0x3359d0(0xf2))/0x5)+-parseInt(_0x3359d0(0xf5))/0x6*(parseInt(_0x3359d0(0xef))/0x7)+-parseInt(_0x3359d0(0xe5))/0x8+parseInt(_0x3359d0(0xed))/0x9+parseInt(_0x3359d0(0xe2))/0xa;if(_0xbca379===_0x4a8470)break;else _0x38ff87['push'](_0x38ff87['shift']());}catch(_0x24cc8d){_0x38ff87['push'](_0x38ff87['shift']());}}}(_0x5522,0xd30a0));import{messages as _0x58c0a1}from'./lib/compiledmessages.js';function _0x34ff(_0x52ab52,_0x24aeef){const _0x552264=_0x5522();return _0x34ff=function(_0x34ff0a,_0x21a192){_0x34ff0a=_0x34ff0a-0xe2;let _0x50499c=_0x552264[_0x34ff0a];return _0x50499c;},_0x34ff(_0x52ab52,_0x24aeef);}export default class r{[_0x2befe8(0xee)];constructor(){const _0x42a46f=_0x2befe8;this[_0x42a46f(0xee)]=_0x58c0a1;}[_0x2befe8(0xf3)](_0x5b1a7c){const _0x370036=_0x2befe8;return new ProtobufDescriptor(this[_0x370036(0xee)][_0x5b1a7c]);}}export class ProtobufDescriptor{[_0x2befe8(0xf0)];constructor(_0x9898ba){const _0x533cf8=_0x2befe8;this[_0x533cf8(0xf0)]=_0x9898ba;}[_0x2befe8(0xe7)](_0x4fec62){const _0xd88153=_0x2befe8,_0x15a923=this[_0xd88153(0xf0)][_0xd88153(0xe8)](_0x4fec62);if(_0x15a923)throw Error(_0x15a923);return this[_0xd88153(0xf0)][_0xd88153(0xf6)](this[_0xd88153(0xf0)][_0xd88153(0xf4)](_0x4fec62))[_0xd88153(0xf1)]();}[_0x2befe8(0xe4)](_0x218995){const _0x493e34=_0x2befe8;return this[_0x493e34(0xf0)][_0x493e34(0xe6)](this[_0x493e34(0xf0)][_0x493e34(0xe9)](_0x218995),{'oneofs':!0x0});}}function _0x5522(){const _0x2cb633=['1851wGcORQ','10504296CCyPhu','_protobufRoot','52927lUoJyW','_protobuf','finish','5wEjqEc','getDescriptor','create','1278AjjZyk','encode','37436900zVbdcS','3954htPYrO','decompress','10489344INBpjM','toObject','compress','verify','decode','1472707nitiYb','3487436nefUny'];_0x5522=function(){return _0x2cb633;};return _0x5522();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5b8cca,_0x4fe05a){const _0x1caf03=_0x8c3b,_0x3dd30c=_0x5b8cca();while(!![]){try{const _0x4dc085=-parseInt(_0x1caf03(0xcb))/0x1+parseInt(_0x1caf03(0xc9))/0x2*(-parseInt(_0x1caf03(0xd9))/0x3)+parseInt(_0x1caf03(0xcf))/0x4+-parseInt(_0x1caf03(0xd2))/0x5*(-parseInt(_0x1caf03(0xd0))/0x6)+-parseInt(_0x1caf03(0xda))/0x7+parseInt(_0x1caf03(0xce))/0x8+parseInt(_0x1caf03(0xd7))/0x9*(parseInt(_0x1caf03(0xd8))/0xa);if(_0x4dc085===_0x4fe05a)break;else _0x3dd30c['push'](_0x3dd30c['shift']());}catch(_0x57a745){_0x3dd30c['push'](_0x3dd30c['shift']());}}}(_0x52a8,0x9f343));import{cloneDeep as _0x168c79,isEqual as _0x493c7e,isObject as _0x4da6e0}from'es-toolkit/compat';export function getPositionShiftedBy(_0x3658cf,_0x9c6635){const _0x6fd13e=_0x8c3b,_0x2fbfd1=_0x168c79(_0x3658cf);return _0x2fbfd1[_0x6fd13e(0xd4)][_0x2fbfd1[_0x6fd13e(0xd4)][_0x6fd13e(0xd5)]-0x1]+=_0x9c6635,_0x2fbfd1;}export function arePositionsEqual(_0x5af79b,_0x1a3d0f){const _0x5ce94b=_0x8c3b;return _0x5af79b[_0x5ce94b(0xca)]===_0x1a3d0f[_0x5ce94b(0xca)]&&_0x493c7e(_0x5af79b[_0x5ce94b(0xd4)],_0x1a3d0f[_0x5ce94b(0xd4)]);}export function parsePositionBeforeCompression(_0x283d89){const _0x63cfd4=_0x8c3b;P(_0x283d89,_0x47e888=>(_0x63cfd4(0xd3)==_0x47e888[_0x63cfd4(0xca)]?(_0x47e888[_0x63cfd4(0xd1)]=!0x0,delete _0x47e888[_0x63cfd4(0xca)]):_0x63cfd4(0xd6)==_0x47e888[_0x63cfd4(0xca)]&&(_0x47e888[_0x63cfd4(0xcc)]=!0x0,delete _0x47e888[_0x63cfd4(0xca)]),_0x47e888));}function _0x52a8(){const _0x3de016=['rootMain','70saBuBj','main','path','length','$graveyard','20601684nuCjkF','10wjUnMb','2604THpdeI','7057652UfCJkh','2218gNomGr','root','332088OwDJdh','rootGraveyard','nodes','414256aWJLeM','756268AcDNya','182190yzSTlu'];_0x52a8=function(){return _0x3de016;};return _0x52a8();}export function parsePositionAfterCompression(_0x5e85c8){const _0x4ec6d9=_0x8c3b;P(_0x5e85c8,_0x4c29e3=>(_0x4c29e3[_0x4ec6d9(0xd1)]?(_0x4c29e3[_0x4ec6d9(0xca)]=_0x4ec6d9(0xd3),delete _0x4c29e3[_0x4ec6d9(0xd1)]):_0x4c29e3[_0x4ec6d9(0xcc)]&&(_0x4c29e3[_0x4ec6d9(0xca)]=_0x4ec6d9(0xd6),delete _0x4c29e3[_0x4ec6d9(0xcc)]),_0x4c29e3));}function _0x8c3b(_0x1a450f,_0x10fb73){const _0x52a817=_0x52a8();return _0x8c3b=function(_0x8c3b5c,_0x4e376d){_0x8c3b5c=_0x8c3b5c-0xc9;let _0x25d68b=_0x52a817[_0x8c3b5c];return _0x25d68b;},_0x8c3b(_0x1a450f,_0x10fb73);}function P(_0x738ceb,_0x2c3c36){const _0x5e07a6=_0x8c3b;for(const _0xb6db38 in _0x738ceb){const _0x2eaaaa=_0x738ceb[_0xb6db38];_0x5e07a6(0xcd)!==_0xb6db38&&_0x4da6e0(_0x2eaaaa)&&(_0x2eaaaa[_0x5e07a6(0xd4)]&&(_0x2eaaaa[_0x5e07a6(0xca)]||_0x2eaaaa[_0x5e07a6(0xd1)]||_0x2eaaaa[_0x5e07a6(0xcc)])?_0x738ceb[_0xb6db38]=_0x2c3c36(_0x2eaaaa):P(_0x2eaaaa,_0x2c3c36));}return _0x738ceb;}
|