@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.9 → 42.0.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/dist/index.js +2 -2
- package/package.json +2 -2
- 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
|
+
var _0x42adc5=_0x464d;(function(_0x145959,_0x32e97c){var _0xbd4c4e=_0x464d,_0x27b09c=_0x145959();while(!![]){try{var _0x3a0e9e=parseInt(_0xbd4c4e(0x9e))/0x1*(parseInt(_0xbd4c4e(0x99))/0x2)+-parseInt(_0xbd4c4e(0x9b))/0x3+parseInt(_0xbd4c4e(0xa5))/0x4*(-parseInt(_0xbd4c4e(0x9d))/0x5)+-parseInt(_0xbd4c4e(0x98))/0x6*(-parseInt(_0xbd4c4e(0x96))/0x7)+-parseInt(_0xbd4c4e(0xa8))/0x8*(-parseInt(_0xbd4c4e(0x9c))/0x9)+-parseInt(_0xbd4c4e(0xa7))/0xa+-parseInt(_0xbd4c4e(0xa4))/0xb*(-parseInt(_0xbd4c4e(0x9f))/0xc);if(_0x3a0e9e===_0x32e97c)break;else _0x27b09c['push'](_0x27b09c['shift']());}catch(_0x59684b){_0x27b09c['push'](_0x27b09c['shift']());}}}(_0x9bfc,0x58167));function _0x464d(_0x218642,_0x22ad3a){var _0x9bfcd4=_0x9bfc();return _0x464d=function(_0x464d97,_0x1a3ab2){_0x464d97=_0x464d97-0x96;var _0x82263=_0x9bfcd4[_0x464d97];return _0x82263;},_0x464d(_0x218642,_0x22ad3a);}import _0x4a7a9b from'./operationcompressor.js';function _0x9bfc(){var _0x49300d=['3890010SRFlsh','112UoiGhc','294931WxCBoc','compress','78IlSBra','1021994LvqNMT','_operationName','1455645ArXLVG','59022XHbMuP','10lpDovI','1zIKZkA','4074804FaxGCd','push','shift','types','decompress','11Azilzo','510164ZZYqEB','_id'];_0x9bfc=function(){return _0x49300d;};return _0x9bfc();}export default class p extends _0x4a7a9b{[_0x42adc5(0x97)](_0x1e22de,_0x4515c0){var _0x2c9911=_0x42adc5;return _0x4515c0[_0x2c9911(0xa1)](),_0x1e22de[_0x2c9911(0xa2)][_0x2c9911(0xa0)](this[_0x2c9911(0xa6)]),!0x0;}[_0x42adc5(0xa3)](_0x9c2e63,_0x475785){var _0x58de4a=_0x42adc5;_0x475785[_0x58de4a(0xa2)][_0x58de4a(0xa1)](),_0x9c2e63[_0x58de4a(0xa0)]({'__className':this[_0x58de4a(0x9a)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xa972b3=_0x5c13;(function(_0x4efd86,_0x570e3c){const _0x4c462b=_0x5c13,_0x3a33c5=_0x4efd86();while(!![]){try{const _0x390fca=-parseInt(_0x4c462b(0x1ad))/0x1+-parseInt(_0x4c462b(0x1b1))/0x2*(-parseInt(_0x4c462b(0x1ab))/0x3)+parseInt(_0x4c462b(0x1a7))/0x4*(-parseInt(_0x4c462b(0x1a4))/0x5)+-parseInt(_0x4c462b(0x1b0))/0x6*(-parseInt(_0x4c462b(0x1a2))/0x7)+parseInt(_0x4c462b(0x1a3))/0x8+parseInt(_0x4c462b(0x1a9))/0x9*(-parseInt(_0x4c462b(0x1aa))/0xa)+parseInt(_0x4c462b(0x1b4))/0xb;if(_0x390fca===_0x570e3c)break;else _0x3a33c5['push'](_0x3a33c5['shift']());}catch(_0x53f5fe){_0x3a33c5['push'](_0x3a33c5['shift']());}}}(_0x4976,0xa7ade));function _0x5c13(_0x3e40a2,_0x5e73e0){const _0x49762a=_0x4976();return _0x5c13=function(_0x5c13ea,_0x57d0fc){_0x5c13ea=_0x5c13ea-0x1a0;let _0x541613=_0x49762a[_0x5c13ea];return _0x541613;},_0x5c13(_0x3e40a2,_0x5e73e0);}function _0x4976(){const _0x8272b2=['__className','41812yORnzV','push','43767yFTvZz','2570LgpjjV','560853doRkth','decompress','1216087ehBzkC','_operationName','_protobufDescriptor','6QljVgM','14ikBHxP','types','shift','5417742CQixnx','_id','compress','3391843OOvuZS','10782416hFimkn','230CNzAFS','buffers'];_0x4976=function(){return _0x8272b2;};return _0x4976();}import{parsePositionBeforeCompression as _0x87b6b4,parsePositionAfterCompression as _0x387389}from'../utils.js';export default class e{constructor(_0x34dd32,_0x3c7ba1,_0x5a5f5b){const _0x288c66=_0x5c13;this[_0x288c66(0x1a0)]=_0x34dd32,this[_0x288c66(0x1ae)]=_0x3c7ba1,this[_0x288c66(0x1af)]=_0x5a5f5b;}[_0xa972b3(0x1a1)](_0x24f6f7,_0x21353f){const _0x320478=_0xa972b3,_0x5e7b9b=_0x21353f[_0x320478(0x1b3)]();return _0x87b6b4(_0x5e7b9b),_0x24f6f7[_0x320478(0x1a5)][_0x320478(0x1a8)](this[_0x320478(0x1af)][_0x320478(0x1a1)](_0x5e7b9b)),_0x24f6f7[_0x320478(0x1b2)][_0x320478(0x1a8)](this[_0x320478(0x1a0)]),!0x0;}[_0xa972b3(0x1ac)](_0x6de689,_0x4e1c55){const _0x53ad82=_0xa972b3;_0x4e1c55[_0x53ad82(0x1b2)][_0x53ad82(0x1b3)]();const _0x436fa9=this[_0x53ad82(0x1af)][_0x53ad82(0x1ac)](_0x4e1c55[_0x53ad82(0x1a5)][_0x53ad82(0x1b3)]());_0x387389(_0x436fa9),_0x436fa9[_0x53ad82(0x1a6)]=this[_0x53ad82(0x1ae)],_0x6de689[_0x53ad82(0x1a8)](_0x436fa9);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x467501=_0x16e0;(function(_0x22d928,_0x83187c){const _0x50d268=_0x16e0,_0x4f76a9=_0x22d928();while(!![]){try{const _0x519a25=-parseInt(_0x50d268(0x186))/0x1+-parseInt(_0x50d268(0x18d))/0x2*(parseInt(_0x50d268(0x192))/0x3)+parseInt(_0x50d268(0x194))/0x4+parseInt(_0x50d268(0x18c))/0x5*(-parseInt(_0x50d268(0x193))/0x6)+parseInt(_0x50d268(0x190))/0x7+parseInt(_0x50d268(0x195))/0x8+-parseInt(_0x50d268(0x196))/0x9*(-parseInt(_0x50d268(0x185))/0xa);if(_0x519a25===_0x83187c)break;else _0x4f76a9['push'](_0x4f76a9['shift']());}catch(_0x1e6e9b){_0x4f76a9['push'](_0x4f76a9['shift']());}}}(_0x3218,0x1c7eb));function _0x3218(){const _0x5926db=['getDescriptor','9490SKTVxw','130104Cidpcv','decompress','create','verify','decode','encode','260375Grtcjz','44258Sxnwdy','compress','_protobuf','315525vBocUX','_protobufRoot','9LoEIZC','18tHIcds','355004sterif','1424568QRarCU','1494HaMrhE','toObject','finish'];_0x3218=function(){return _0x5926db;};return _0x3218();}import{messages as _0x51181c}from'./lib/compiledmessages.js';function _0x16e0(_0x4526bd,_0x4675dc){const _0x32180a=_0x3218();return _0x16e0=function(_0x16e04d,_0x3c70e9){_0x16e04d=_0x16e04d-0x183;let _0x59abb1=_0x32180a[_0x16e04d];return _0x59abb1;},_0x16e0(_0x4526bd,_0x4675dc);}export default class r{constructor(){const _0xfbe588=_0x16e0;this[_0xfbe588(0x191)]=_0x51181c;}[_0x467501(0x184)](_0x379a18){const _0x217d42=_0x467501;return new ProtobufDescriptor(this[_0x217d42(0x191)][_0x379a18]);}}export class ProtobufDescriptor{constructor(_0x195e62){const _0x279b27=_0x467501;this[_0x279b27(0x18f)]=_0x195e62;}[_0x467501(0x18e)](_0x4ac39e){const _0xb3e71b=_0x467501,_0x343fa4=this[_0xb3e71b(0x18f)][_0xb3e71b(0x189)](_0x4ac39e);if(_0x343fa4)throw Error(_0x343fa4);return this[_0xb3e71b(0x18f)][_0xb3e71b(0x18b)](this[_0xb3e71b(0x18f)][_0xb3e71b(0x188)](_0x4ac39e))[_0xb3e71b(0x183)]();}[_0x467501(0x187)](_0x5b061e){const _0x145d4b=_0x467501;return this[_0x145d4b(0x18f)][_0x145d4b(0x197)](this[_0x145d4b(0x18f)][_0x145d4b(0x18a)](_0x5b061e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1fae(_0x18e3ae,_0x171bec){const _0x2aab13=_0x2aab();return _0x1fae=function(_0x1fae4a,_0x1ce5e6){_0x1fae4a=_0x1fae4a-0xcb;let _0x1a8340=_0x2aab13[_0x1fae4a];return _0x1a8340;},_0x1fae(_0x18e3ae,_0x171bec);}(function(_0x27dd23,_0x1006b3){const _0x760bfd=_0x1fae,_0xf500d=_0x27dd23();while(!![]){try{const _0x33d2d7=-parseInt(_0x760bfd(0xd9))/0x1*(parseInt(_0x760bfd(0xd6))/0x2)+parseInt(_0x760bfd(0xd4))/0x3*(parseInt(_0x760bfd(0xde))/0x4)+parseInt(_0x760bfd(0xcf))/0x5*(parseInt(_0x760bfd(0xcc))/0x6)+-parseInt(_0x760bfd(0xce))/0x7+parseInt(_0x760bfd(0xd8))/0x8*(parseInt(_0x760bfd(0xd2))/0x9)+-parseInt(_0x760bfd(0xcd))/0xa*(parseInt(_0x760bfd(0xd1))/0xb)+parseInt(_0x760bfd(0xd3))/0xc;if(_0x33d2d7===_0x1006b3)break;else _0xf500d['push'](_0xf500d['shift']());}catch(_0x2064dd){_0xf500d['push'](_0xf500d['shift']());}}}(_0x2aab,0x3d8de));import{cloneDeep as _0x15f550,isEqual as _0x78ad2b,isObject as _0x4e7cb2}from'lodash-es';export function getPositionShiftedBy(_0x5240ff,_0x34d8c5){const _0xc7b100=_0x1fae,_0x24966d=_0x15f550(_0x5240ff);return _0x24966d[_0xc7b100(0xd7)][_0x24966d[_0xc7b100(0xd7)][_0xc7b100(0xdc)]-0x1]+=_0x34d8c5,_0x24966d;}export function arePositionsEqual(_0x1f547e,_0x190110){const _0x2d0ba7=_0x1fae;return _0x1f547e[_0x2d0ba7(0xdd)]===_0x190110[_0x2d0ba7(0xdd)]&&_0x78ad2b(_0x1f547e[_0x2d0ba7(0xd7)],_0x190110[_0x2d0ba7(0xd7)]);}export function parsePositionBeforeCompression(_0x141787){const _0x1aa41e=_0x1fae;P(_0x141787,_0x4e6f22=>(_0x1aa41e(0xd0)==_0x4e6f22[_0x1aa41e(0xdd)]?(_0x4e6f22[_0x1aa41e(0xda)]=!0x0,delete _0x4e6f22[_0x1aa41e(0xdd)]):_0x1aa41e(0xcb)==_0x4e6f22[_0x1aa41e(0xdd)]&&(_0x4e6f22[_0x1aa41e(0xdb)]=!0x0,delete _0x4e6f22[_0x1aa41e(0xdd)]),_0x4e6f22));}export function parsePositionAfterCompression(_0x1fcb69){const _0x1875ed=_0x1fae;P(_0x1fcb69,_0x6549cf=>(_0x6549cf[_0x1875ed(0xda)]?(_0x6549cf[_0x1875ed(0xdd)]=_0x1875ed(0xd0),delete _0x6549cf[_0x1875ed(0xda)]):_0x6549cf[_0x1875ed(0xdb)]&&(_0x6549cf[_0x1875ed(0xdd)]=_0x1875ed(0xcb),delete _0x6549cf[_0x1875ed(0xdb)]),_0x6549cf));}function P(_0x4f35f9,_0x3adce2){const _0x16f7a0=_0x1fae;for(const _0x10ede4 in _0x4f35f9){const _0x52abdd=_0x4f35f9[_0x10ede4];_0x16f7a0(0xd5)!==_0x10ede4&&_0x4e7cb2(_0x52abdd)&&(_0x52abdd[_0x16f7a0(0xd7)]&&(_0x52abdd[_0x16f7a0(0xdd)]||_0x52abdd[_0x16f7a0(0xda)]||_0x52abdd[_0x16f7a0(0xdb)])?_0x4f35f9[_0x10ede4]=_0x3adce2(_0x52abdd):P(_0x52abdd,_0x3adce2));}return _0x4f35f9;}function _0x2aab(){const _0x88d5df=['$graveyard','6EgJVvB','4443490hnQvko','3135734dHaIlP','705365LeTTkF','main','11tzRFRE','2148759CZWUXo','4041372zuLlzZ','459vWVHRS','nodes','66258zxZore','path','16bPbQFY','6suAyky','rootMain','rootGraveyard','length','root','10140UrsMdk'];_0x2aab=function(){return _0x88d5df;};return _0x2aab();}
|