@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.16 → 44.2.0-alpha.3
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
|
-
var
|
|
23
|
+
function _0x1c1b(_0x24b6da,_0x188e41){var _0x35af08=_0x35af();return _0x1c1b=function(_0x1c1b63,_0x57a3ed){_0x1c1b63=_0x1c1b63-0x9d;var _0x52b85d=_0x35af08[_0x1c1b63];return _0x52b85d;},_0x1c1b(_0x24b6da,_0x188e41);}var _0xb73a55=_0x1c1b;function _0x35af(){var _0x3c83f1=['96YOmVxb','21986WvcvfH','decompress','_id','push','3433590ZscSLv','231205ZgUYVv','compress','types','84091HhWEQr','1226770FwCBoj','259448visgqL','2131904jzqvfo','shift','_operationName','99kDfubw'];_0x35af=function(){return _0x3c83f1;};return _0x35af();}(function(_0x501eb2,_0x1bf3f5){var _0x45578f=_0x1c1b,_0x472dee=_0x501eb2();while(!![]){try{var _0x2e2662=parseInt(_0x45578f(0xa5))/0x1+parseInt(_0x45578f(0xa0))/0x2*(parseInt(_0x45578f(0x9e))/0x3)+-parseInt(_0x45578f(0xaa))/0x4+-parseInt(_0x45578f(0xa9))/0x5+parseInt(_0x45578f(0x9f))/0x6*(-parseInt(_0x45578f(0xa8))/0x7)+-parseInt(_0x45578f(0xab))/0x8+parseInt(_0x45578f(0xa4))/0x9;if(_0x2e2662===_0x1bf3f5)break;else _0x472dee['push'](_0x472dee['shift']());}catch(_0x1571d2){_0x472dee['push'](_0x472dee['shift']());}}}(_0x35af,0x326ec));import _0x499859 from'./operationcompressor.js';export default class p extends _0x499859{[_0xb73a55(0xa6)](_0x1b2c48,_0x448583){var _0x2912e1=_0xb73a55;return _0x448583[_0x2912e1(0xac)](),_0x1b2c48[_0x2912e1(0xa7)][_0x2912e1(0xa3)](this[_0x2912e1(0xa2)]),!0x0;}[_0xb73a55(0xa1)](_0x5ba651,_0x27742a){var _0x41a04b=_0xb73a55;_0x27742a[_0x41a04b(0xa7)][_0x41a04b(0xac)](),_0x5ba651[_0x41a04b(0xa3)]({'__className':this[_0x41a04b(0x9d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x35ee(_0x135ba7,_0x49bf17){const _0x3c3b59=_0x3c3b();return _0x35ee=function(_0x35eebf,_0x42e98){_0x35eebf=_0x35eebf-0xcc;let _0x110b41=_0x3c3b59[_0x35eebf];return _0x110b41;},_0x35ee(_0x135ba7,_0x49bf17);}const _0x41c0aa=_0x35ee;(function(_0x4cd0f3,_0x4e4aea){const _0x314880=_0x35ee,_0x57b148=_0x4cd0f3();while(!![]){try{const _0x3fa9dd=parseInt(_0x314880(0xcd))/0x1+parseInt(_0x314880(0xcc))/0x2*(-parseInt(_0x314880(0xdd))/0x3)+parseInt(_0x314880(0xdb))/0x4+-parseInt(_0x314880(0xda))/0x5+parseInt(_0x314880(0xd8))/0x6*(-parseInt(_0x314880(0xd2))/0x7)+-parseInt(_0x314880(0xd1))/0x8+-parseInt(_0x314880(0xdc))/0x9*(-parseInt(_0x314880(0xdf))/0xa);if(_0x3fa9dd===_0x4e4aea)break;else _0x57b148['push'](_0x57b148['shift']());}catch(_0x1828ab){_0x57b148['push'](_0x57b148['shift']());}}}(_0x3c3b,0xea4f1));import{parsePositionBeforeCompression as _0x2daf50,parsePositionAfterCompression as _0x49dc21}from'../utils.js';export default class e{constructor(_0x1e1f9f,_0x2ccc94,_0x5bb44f){const _0x5da72f=_0x35ee;this[_0x5da72f(0xd9)]=_0x1e1f9f,this[_0x5da72f(0xd6)]=_0x2ccc94,this[_0x5da72f(0xd4)]=_0x5bb44f;}[_0x41c0aa(0xd5)](_0x1ffce9,_0xee935){const _0x5a3bc8=_0x41c0aa,_0x2d3b37=_0xee935[_0x5a3bc8(0xce)]();return _0x2daf50(_0x2d3b37),_0x1ffce9[_0x5a3bc8(0xcf)][_0x5a3bc8(0xd7)](this[_0x5a3bc8(0xd4)][_0x5a3bc8(0xd5)](_0x2d3b37)),_0x1ffce9[_0x5a3bc8(0xd3)][_0x5a3bc8(0xd7)](this[_0x5a3bc8(0xd9)]),!0x0;}[_0x41c0aa(0xd0)](_0x158e4a,_0x15c5d4){const _0x4ac2d5=_0x41c0aa;_0x15c5d4[_0x4ac2d5(0xd3)][_0x4ac2d5(0xce)]();const _0x2a13b5=this[_0x4ac2d5(0xd4)][_0x4ac2d5(0xd0)](_0x15c5d4[_0x4ac2d5(0xcf)][_0x4ac2d5(0xce)]());_0x49dc21(_0x2a13b5),_0x2a13b5[_0x4ac2d5(0xde)]=this[_0x4ac2d5(0xd6)],_0x158e4a[_0x4ac2d5(0xd7)](_0x2a13b5);}}function _0x3c3b(){const _0x4dfebb=['4332572clMjxC','2394dTukeO','3jPjEkT','__className','97730ugDAqg','495622OcsvfH','16718fEjtEz','shift','buffers','decompress','4661768tULclX','25550LDYknj','types','_protobufDescriptor','compress','_operationName','push','1878KSYjya','_id','3833840pIWzpR'];_0x3c3b=function(){return _0x4dfebb;};return _0x3c3b();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x464371=_0x4116;function _0x1b50(){const _0x498fa3=['create','_protobufRoot','compress','1403448WMNfiW','1372878sbpyyB','28glUmLE','_protobuf','2rDTbqU','encode','decompress','finish','toObject','getDescriptor','decode','verify','6091795UcNHTA','27FCHgJN','2471037gYevrI','59516260enARQi','4024568VGQTtL','3685908nZIfPl'];_0x1b50=function(){return _0x498fa3;};return _0x1b50();}(function(_0x1ddd45,_0x2b8f2e){const _0x377c8c=_0x4116,_0x1c0997=_0x1ddd45();while(!![]){try{const _0x291f9f=-parseInt(_0x377c8c(0xa1))/0x1+parseInt(_0x377c8c(0x8f))/0x2*(parseInt(_0x377c8c(0x99))/0x3)+-parseInt(_0x377c8c(0x9c))/0x4+-parseInt(_0x377c8c(0x97))/0x5+parseInt(_0x377c8c(0xa0))/0x6*(-parseInt(_0x377c8c(0xa2))/0x7)+parseInt(_0x377c8c(0x9b))/0x8*(-parseInt(_0x377c8c(0x98))/0x9)+parseInt(_0x377c8c(0x9a))/0xa;if(_0x291f9f===_0x2b8f2e)break;else _0x1c0997['push'](_0x1c0997['shift']());}catch(_0x2a2661){_0x1c0997['push'](_0x1c0997['shift']());}}}(_0x1b50,0xc7a52));import{messages as _0x1f5b42}from'./lib/compiledmessages.js';function _0x4116(_0x1691fc,_0x172a11){const _0x1b5055=_0x1b50();return _0x4116=function(_0x411657,_0xec2deb){_0x411657=_0x411657-0x8f;let _0x129cd8=_0x1b5055[_0x411657];return _0x129cd8;},_0x4116(_0x1691fc,_0x172a11);}export default class r{constructor(){const _0x5e8076=_0x4116;this[_0x5e8076(0x9e)]=_0x1f5b42;}[_0x464371(0x94)](_0x1977f2){const _0xbddf24=_0x464371;return new ProtobufDescriptor(this[_0xbddf24(0x9e)][_0x1977f2]);}}export class ProtobufDescriptor{constructor(_0x9a3bd9){const _0x395772=_0x464371;this[_0x395772(0xa3)]=_0x9a3bd9;}[_0x464371(0x9f)](_0x5eac69){const _0x1b6f2d=_0x464371,_0x13c0cf=this[_0x1b6f2d(0xa3)][_0x1b6f2d(0x96)](_0x5eac69);if(_0x13c0cf)throw Error(_0x13c0cf);return this[_0x1b6f2d(0xa3)][_0x1b6f2d(0x90)](this[_0x1b6f2d(0xa3)][_0x1b6f2d(0x9d)](_0x5eac69))[_0x1b6f2d(0x92)]();}[_0x464371(0x91)](_0x39b8fb){const _0x140105=_0x464371;return this[_0x140105(0xa3)][_0x140105(0x93)](this[_0x140105(0xa3)][_0x140105(0x95)](_0x39b8fb),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5ef6(){const _0x34a622=['756xEFYad','1431402TynBIn','2RXOYlH','root','path','main','rootGraveyard','3324804lSzTyY','$graveyard','length','904635MSDTFv','10MfVnbI','760wVWlPS','nodes','29400sVswYr','12aWQBEe','6531844qwRRPX','rootMain','28338PxqxuF','8359218VmOBwa'];_0x5ef6=function(){return _0x34a622;};return _0x5ef6();}(function(_0x3615b4,_0xec0784){const _0x50b103=_0x4c42,_0xfd06cd=_0x3615b4();while(!![]){try{const _0x1533f9=parseInt(_0x50b103(0x7a))/0x1+parseInt(_0x50b103(0x72))/0x2*(parseInt(_0x50b103(0x71))/0x3)+-parseInt(_0x50b103(0x77))/0x4+-parseInt(_0x50b103(0x7c))/0x5*(-parseInt(_0x50b103(0x6e))/0x6)+-parseInt(_0x50b103(0x70))/0x7*(parseInt(_0x50b103(0x7e))/0x8)+parseInt(_0x50b103(0x6f))/0x9*(-parseInt(_0x50b103(0x7b))/0xa)+-parseInt(_0x50b103(0x80))/0xb*(-parseInt(_0x50b103(0x7f))/0xc);if(_0x1533f9===_0xec0784)break;else _0xfd06cd['push'](_0xfd06cd['shift']());}catch(_0x12b750){_0xfd06cd['push'](_0xfd06cd['shift']());}}}(_0x5ef6,0x82ff6));import{cloneDeep as _0x301136,isEqual as _0x1031d1,isObject as _0x140388}from'lodash-es';export function getPositionShiftedBy(_0x334fca,_0x177985){const _0x3c51d5=_0x4c42,_0x1b2474=_0x301136(_0x334fca);return _0x1b2474[_0x3c51d5(0x74)][_0x1b2474[_0x3c51d5(0x74)][_0x3c51d5(0x79)]-0x1]+=_0x177985,_0x1b2474;}export function arePositionsEqual(_0x452bb6,_0x469079){const _0x4a8536=_0x4c42;return _0x452bb6[_0x4a8536(0x73)]===_0x469079[_0x4a8536(0x73)]&&_0x1031d1(_0x452bb6[_0x4a8536(0x74)],_0x469079[_0x4a8536(0x74)]);}export function parsePositionBeforeCompression(_0x37b067){const _0x264faa=_0x4c42;P(_0x37b067,_0x4ec8b2=>(_0x264faa(0x75)==_0x4ec8b2[_0x264faa(0x73)]?(_0x4ec8b2[_0x264faa(0x81)]=!0x0,delete _0x4ec8b2[_0x264faa(0x73)]):_0x264faa(0x78)==_0x4ec8b2[_0x264faa(0x73)]&&(_0x4ec8b2[_0x264faa(0x76)]=!0x0,delete _0x4ec8b2[_0x264faa(0x73)]),_0x4ec8b2));}function _0x4c42(_0xea939a,_0x4355f5){const _0x5ef631=_0x5ef6();return _0x4c42=function(_0x4c42f8,_0x5f03b0){_0x4c42f8=_0x4c42f8-0x6e;let _0x3f9df0=_0x5ef631[_0x4c42f8];return _0x3f9df0;},_0x4c42(_0xea939a,_0x4355f5);}export function parsePositionAfterCompression(_0x5520c1){const _0x25e6b7=_0x4c42;P(_0x5520c1,_0x13953e=>(_0x13953e[_0x25e6b7(0x81)]?(_0x13953e[_0x25e6b7(0x73)]=_0x25e6b7(0x75),delete _0x13953e[_0x25e6b7(0x81)]):_0x13953e[_0x25e6b7(0x76)]&&(_0x13953e[_0x25e6b7(0x73)]=_0x25e6b7(0x78),delete _0x13953e[_0x25e6b7(0x76)]),_0x13953e));}function P(_0x2d0709,_0x7d0d0d){const _0x3abeb5=_0x4c42;for(const _0x569e93 in _0x2d0709){const _0x2b1537=_0x2d0709[_0x569e93];_0x3abeb5(0x7d)!==_0x569e93&&_0x140388(_0x2b1537)&&(_0x2b1537[_0x3abeb5(0x74)]&&(_0x2b1537[_0x3abeb5(0x73)]||_0x2b1537[_0x3abeb5(0x81)]||_0x2b1537[_0x3abeb5(0x76)])?_0x2d0709[_0x569e93]=_0x7d0d0d(_0x2b1537):P(_0x2b1537,_0x7d0d0d));}return _0x2d0709;}
|