@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.1 → 46.0.1-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 _0x5888(_0x1fc530,_0x3b6dd6){var _0x3c0976=_0x3c09();return _0x5888=function(_0x5888a2,_0x2e66c5){_0x5888a2=_0x5888a2-0x137;var _0x49261d=_0x3c0976[_0x5888a2];return _0x49261d;},_0x5888(_0x1fc530,_0x3b6dd6);}var _0x1c7c2d=_0x5888;function _0x3c09(){var _0x1c1196=['shift','48120VuYydp','1080690SlFUjg','49yIxmpE','428300mZEveV','355184PRGHsE','120GPZioE','_id','decompress','push','66822kkCCza','75fQRpsi','_operationName','240147njexSk','compress','types','259302GnuTIa'];_0x3c09=function(){return _0x1c1196;};return _0x3c09();}(function(_0x51ec25,_0x21693a){var _0x496be4=_0x5888,_0x56624c=_0x51ec25();while(!![]){try{var _0x3ab166=-parseInt(_0x496be4(0x146))/0x1+-parseInt(_0x496be4(0x141))/0x2+parseInt(_0x496be4(0x144))/0x3+parseInt(_0x496be4(0x147))/0x4+parseInt(_0x496be4(0x13c))/0x5*(parseInt(_0x496be4(0x13b))/0x6)+-parseInt(_0x496be4(0x145))/0x7*(parseInt(_0x496be4(0x143))/0x8)+parseInt(_0x496be4(0x13e))/0x9*(parseInt(_0x496be4(0x137))/0xa);if(_0x3ab166===_0x21693a)break;else _0x56624c['push'](_0x56624c['shift']());}catch(_0x11a628){_0x56624c['push'](_0x56624c['shift']());}}}(_0x3c09,0x5215d));import{OperationCompressor as _0x2a42e2}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2a42e2{[_0x1c7c2d(0x13f)](_0x2162b9,_0x35ee2d){var _0x2fddd6=_0x1c7c2d;return _0x35ee2d[_0x2fddd6(0x142)](),_0x2162b9[_0x2fddd6(0x140)][_0x2fddd6(0x13a)](this[_0x2fddd6(0x138)]),!0x0;}[_0x1c7c2d(0x139)](_0xe973fa,_0x30ed00){var _0x2f6df5=_0x1c7c2d;_0x30ed00[_0x2f6df5(0x140)][_0x2f6df5(0x142)](),_0xe973fa[_0x2f6df5(0x13a)]({'__className':this[_0x2f6df5(0x13d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x507192=_0x1612;(function(_0x59579d,_0x6e3640){const _0x27c0e5=_0x1612,_0x1a9e6b=_0x59579d();while(!![]){try{const _0x3820e3=-parseInt(_0x27c0e5(0x85))/0x1*(parseInt(_0x27c0e5(0x77))/0x2)+-parseInt(_0x27c0e5(0x7e))/0x3+parseInt(_0x27c0e5(0x74))/0x4*(-parseInt(_0x27c0e5(0x81))/0x5)+parseInt(_0x27c0e5(0x7a))/0x6*(-parseInt(_0x27c0e5(0x80))/0x7)+-parseInt(_0x27c0e5(0x84))/0x8*(-parseInt(_0x27c0e5(0x73))/0x9)+-parseInt(_0x27c0e5(0x7c))/0xa+parseInt(_0x27c0e5(0x86))/0xb;if(_0x3820e3===_0x6e3640)break;else _0x1a9e6b['push'](_0x1a9e6b['shift']());}catch(_0x5d6480){_0x1a9e6b['push'](_0x1a9e6b['shift']());}}}(_0x157e,0x2c7b7));function _0x1612(_0x4bd7fc,_0x5646ae){const _0x157e12=_0x157e();return _0x1612=function(_0x1612c5,_0x1230de){_0x1612c5=_0x1612c5-0x72;let _0x4222ed=_0x157e12[_0x1612c5];return _0x4222ed;},_0x1612(_0x4bd7fc,_0x5646ae);}import{parsePositionBeforeCompression as _0x1c02ac,parsePositionAfterCompression as _0x571c36}from'../utils.js';function _0x157e(){const _0x22db87=['65TEMlSg','types','compress','104yOSOKg','1xyDBjb','11867119LHvTJF','buffers','77886iupUUm','10132HwXddS','_protobufDescriptor','__className','724886OCZMli','decompress','_operationName','3204tvHMqO','push','991570GmqzZH','shift','843735nDcPFM','_id','3059LdDiYo'];_0x157e=function(){return _0x22db87;};return _0x157e();}export class OperationCompressor{[_0x507192(0x7f)];[_0x507192(0x79)];[_0x507192(0x75)];constructor(_0x510d35,_0x105aad,_0x1ac5f2){const _0x410242=_0x507192;this[_0x410242(0x7f)]=_0x510d35,this[_0x410242(0x79)]=_0x105aad,this[_0x410242(0x75)]=_0x1ac5f2;}[_0x507192(0x83)](_0x198569,_0x3cf4fc){const _0x4a6b69=_0x507192,_0x255211=_0x3cf4fc[_0x4a6b69(0x7d)]();return _0x1c02ac(_0x255211),_0x198569[_0x4a6b69(0x72)][_0x4a6b69(0x7b)](this[_0x4a6b69(0x75)][_0x4a6b69(0x83)](_0x255211)),_0x198569[_0x4a6b69(0x82)][_0x4a6b69(0x7b)](this[_0x4a6b69(0x7f)]),!0x0;}[_0x507192(0x78)](_0x2a58f4,_0x3b909c){const _0x1db9bd=_0x507192;_0x3b909c[_0x1db9bd(0x82)][_0x1db9bd(0x7d)]();const _0x14afec=this[_0x1db9bd(0x75)][_0x1db9bd(0x78)](_0x3b909c[_0x1db9bd(0x72)][_0x1db9bd(0x7d)]());_0x571c36(_0x14afec),_0x14afec[_0x1db9bd(0x76)]=this[_0x1db9bd(0x79)],_0x2a58f4[_0x1db9bd(0x7b)](_0x14afec);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x975034=_0x5f3b;function _0x535d(){const _0x5db7ea=['265125jJIsvG','_protobuf','create','decode','246440lhWVce','70776wximPc','290susQVd','80176QTkyEF','decompress','217EVMlMI','encode','_protobufRoot','1kMjgcg','finish','834502iuIAmM','132318BfYyeP','1765570VyQbWQ','6SnWyRT','toObject','verify','1111xPctpG','getDescriptor','compress'];_0x535d=function(){return _0x5db7ea;};return _0x535d();}(function(_0x45907a,_0x2f8cf0){const _0x3117fe=_0x5f3b,_0x1aded9=_0x45907a();while(!![]){try{const _0x514c8f=parseInt(_0x3117fe(0x115))/0x1*(parseInt(_0x3117fe(0x117))/0x2)+parseInt(_0x3117fe(0x109))/0x3+-parseInt(_0x3117fe(0x10d))/0x4+-parseInt(_0x3117fe(0x119))/0x5*(parseInt(_0x3117fe(0x103))/0x6)+parseInt(_0x3117fe(0x112))/0x7*(parseInt(_0x3117fe(0x110))/0x8)+-parseInt(_0x3117fe(0x118))/0x9*(-parseInt(_0x3117fe(0x10f))/0xa)+-parseInt(_0x3117fe(0x106))/0xb*(parseInt(_0x3117fe(0x10e))/0xc);if(_0x514c8f===_0x2f8cf0)break;else _0x1aded9['push'](_0x1aded9['shift']());}catch(_0x11d96b){_0x1aded9['push'](_0x1aded9['shift']());}}}(_0x535d,0x38b34));import{messages as _0x97546b}from'./lib/compiledmessages.js';function _0x5f3b(_0x367f15,_0x5e4e3f){const _0x535d58=_0x535d();return _0x5f3b=function(_0x5f3be9,_0x48258e){_0x5f3be9=_0x5f3be9-0x103;let _0x2145a7=_0x535d58[_0x5f3be9];return _0x2145a7;},_0x5f3b(_0x367f15,_0x5e4e3f);}export class ProtobufFactory{[_0x975034(0x114)];constructor(){const _0x3b6deb=_0x975034;this[_0x3b6deb(0x114)]=_0x97546b;}[_0x975034(0x107)](_0x1fd430){const _0x482c34=_0x975034;return new ProtobufDescriptor(this[_0x482c34(0x114)][_0x1fd430]);}}export class ProtobufDescriptor{[_0x975034(0x10a)];constructor(_0x4b9fd8){const _0x7b0e99=_0x975034;this[_0x7b0e99(0x10a)]=_0x4b9fd8;}[_0x975034(0x108)](_0x56ad5b){const _0x115f6b=_0x975034,_0x5d14af=this[_0x115f6b(0x10a)][_0x115f6b(0x105)](_0x56ad5b);if(_0x5d14af)throw Error(_0x5d14af);return this[_0x115f6b(0x10a)][_0x115f6b(0x113)](this[_0x115f6b(0x10a)][_0x115f6b(0x10b)](_0x56ad5b))[_0x115f6b(0x116)]();}[_0x975034(0x111)](_0x3b31a7){const _0x2756e6=_0x975034;return this[_0x2756e6(0x10a)][_0x2756e6(0x104)](this[_0x2756e6(0x10a)][_0x2756e6(0x10c)](_0x3b31a7),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e7811,_0x231825){const _0x4372fd=_0x57da,_0x50f94a=_0x4e7811();while(!![]){try{const _0x5f229c=-parseInt(_0x4372fd(0x146))/0x1*(parseInt(_0x4372fd(0x14a))/0x2)+parseInt(_0x4372fd(0x142))/0x3*(parseInt(_0x4372fd(0x144))/0x4)+parseInt(_0x4372fd(0x140))/0x5+-parseInt(_0x4372fd(0x141))/0x6*(-parseInt(_0x4372fd(0x149))/0x7)+-parseInt(_0x4372fd(0x151))/0x8+-parseInt(_0x4372fd(0x14d))/0x9+parseInt(_0x4372fd(0x14e))/0xa;if(_0x5f229c===_0x231825)break;else _0x50f94a['push'](_0x50f94a['shift']());}catch(_0x42d68f){_0x50f94a['push'](_0x50f94a['shift']());}}}(_0x1c81,0x7307b));function _0x57da(_0x2b3916,_0x261881){const _0x1c8124=_0x1c81();return _0x57da=function(_0x57daf2,_0x32efa5){_0x57daf2=_0x57daf2-0x140;let _0xbeb293=_0x1c8124[_0x57daf2];return _0xbeb293;},_0x57da(_0x2b3916,_0x261881);}import{cloneDeep as _0x361946,isEqual as _0xb4275a,isObject as _0x52ed9c}from'es-toolkit/compat';export function getPositionShiftedBy(_0x5808c0,_0x18f9d5){const _0x288e23=_0x57da,_0x219b85=_0x361946(_0x5808c0);return _0x219b85[_0x288e23(0x14b)][_0x219b85[_0x288e23(0x14b)][_0x288e23(0x147)]-0x1]+=_0x18f9d5,_0x219b85;}export function arePositionsEqual(_0x19c67f,_0x197a1a){const _0x1d30ab=_0x57da;return _0x19c67f[_0x1d30ab(0x145)]===_0x197a1a[_0x1d30ab(0x145)]&&_0xb4275a(_0x19c67f[_0x1d30ab(0x14b)],_0x197a1a[_0x1d30ab(0x14b)]);}function _0x1c81(){const _0x3b0684=['2AimUHD','path','main','4902723IrGwHm','156840hhAEgw','nodes','$graveyard','6394168FWthvt','2204705BUMCHv','6onfdit','4569MSOivz','rootMain','2052cieggK','root','360634TxoCKg','length','rootGraveyard','6565237YjuyjZ'];_0x1c81=function(){return _0x3b0684;};return _0x1c81();}export function parsePositionBeforeCompression(_0x7cbb18){const _0x3030b8=_0x57da;P(_0x7cbb18,_0x4d8c95=>(_0x3030b8(0x14c)==_0x4d8c95[_0x3030b8(0x145)]?(_0x4d8c95[_0x3030b8(0x143)]=!0x0,delete _0x4d8c95[_0x3030b8(0x145)]):_0x3030b8(0x150)==_0x4d8c95[_0x3030b8(0x145)]&&(_0x4d8c95[_0x3030b8(0x148)]=!0x0,delete _0x4d8c95[_0x3030b8(0x145)]),_0x4d8c95));}export function parsePositionAfterCompression(_0x338e81){const _0x3b0076=_0x57da;P(_0x338e81,_0x2c297d=>(_0x2c297d[_0x3b0076(0x143)]?(_0x2c297d[_0x3b0076(0x145)]=_0x3b0076(0x14c),delete _0x2c297d[_0x3b0076(0x143)]):_0x2c297d[_0x3b0076(0x148)]&&(_0x2c297d[_0x3b0076(0x145)]=_0x3b0076(0x150),delete _0x2c297d[_0x3b0076(0x148)]),_0x2c297d));}function P(_0x5e167e,_0x279854){const _0x2be612=_0x57da;for(const _0x520595 in _0x5e167e){const _0x3e0860=_0x5e167e[_0x520595];_0x2be612(0x14f)!==_0x520595&&_0x52ed9c(_0x3e0860)&&(_0x3e0860[_0x2be612(0x14b)]&&(_0x3e0860[_0x2be612(0x145)]||_0x3e0860[_0x2be612(0x143)]||_0x3e0860[_0x2be612(0x148)])?_0x5e167e[_0x520595]=_0x279854(_0x3e0860):P(_0x3e0860,_0x279854));}return _0x5e167e;}
|